Testing on the Toilet: Keep Tests Focused

Testing on the Toilet: Keep Tests Focused

This article was adapted from a Google Testing on the Toilet (TotT) episode. You can download a printer-friendly version of this TotT episode and post it in your office.By Ben YuWhat scenario does the following code test? TEST_F(BankAccountTest, WithdrawFromAccount) {...
Code Health: Understanding Code In Review

Code Health: Understanding Code In Review

This is another post in our Code Health series. A version of this post originally appeared in Google bathrooms worldwide as a Google Testing on the Toilet episode. You can download a printer-friendly version to display in your office. By Max Kanat-Alexander It’s...
Testing on the Toilet: Cleanly Create Test Data

Testing on the Toilet: Cleanly Create Test Data

This article was adapted from a Google Testing on the Toilet (TotT) episode. You can download a printer-friendly version of this TotT episode and post it in your office.By Ben YuHelper methods make it easier to create test data. But they can become difficult to read...
Code Health: Obsessed With Primitives?

Code Health: Obsessed With Primitives?

This is another post in our Code Health series. A version of this post originally appeared in Google bathrooms worldwide as a Google Testing on the Toilet episode. You can download a printer-friendly version to display in your office. By Marc EaddyProgramming...