Show:
Questions
Responses
Print
Concepts
Testing
Views, Templates & URLs
Django ORM
Googlers
100
This type of test exercises the complete application, from the point of view of a user.
What is a functional test?
100
This method checks whether two values are the same.
What is `assertEqual()`?
100
This function is used to combine data and a template.
What is `render`?
100
This method is used to retrieve the complete set of `Item`s in the database.
What is `Item.objects.all()`?
100
This Smith graduate organizes campus recruiting at the seven sisters, including the 2016 j-term class.
Who is Sidnie Davis?
200
This type of test verifies a single piece of the larger program.
What is a unit test?
200
This method is used in unit tests to simulate sending data to a view.
What is `
client.post
`?
200
This function is used to send users to another page, without rendering data.
What is `redirect`?
200
This method creates a property on a model that contains a string.
What is `models.TextField`?
200
This Googler has published numerous groundbreaking papers, including MapReduce, Bigtable, and TensorFlow. He wears obnoxious shirts.
Who is Jeff Dean?
300
This animal represents the dangers of editing programs without having good testing in place.
What is the refactoring cat?
300
This library is used to automate browser interaction.
What is Selenium (or Webdriver)?
300
This property of the `request` object contains data sent by the user.
What is `POST`?
300
This method is used in lieu of `new` to build an Item instance.
What is `Item.objects.create()`?
300
This Googler, known as the security princess, had never touched a computer before her first year of undergrad.
Who is Parisa Tabriz?
400
This rule of thumb guides programmers when deciding what code to modify next.
What is three-strikes refactor?
400
This assertion checks that a view sent a 302 status to the browser.
What is `assertRedirects`?
400
This expression is used to make a numbered list in a template.
What is `forloop.counter`
400
This method is used to create a relationship between two models.
What is `models.ForeignKey`?
400
This early Google exec went on to be CEO of Yahoo.
Who is Marissa Mayer?
500
This cycle is a quick iterative loop for practicing test-driven development.
What is red-green-refactor?
500
This class is the base class for acceptance tests.
What is LiveServerTestCase?
500
This regular expression will match lists with an identifier.
What is `r'^lists/(.+)/$'`?
500
This exception is thrown when attempting to save a model that has a ForeignKey property which has not been set.
What is `django.db.utils.IntegrityError`?
500
Who is the recent MHC grad who graduated in 2015 and recently started work at Google?
Who is Pragya Bajoria or Mina Khan.