|
|
Log in / Subscribe / Register

Testing at Facebook

Testing at Facebook

Posted May 7, 2013 17:15 UTC (Tue) by drothlis (guest, #89727)
In reply to: Testing at Facebook by giraffedata
Parent article: A report from the Google Test Automation Conference

> developing the test cases [... is] something I would want done by
> someone other than the author of the code to consider it a real test.

That's a very important point. Some possible solutions (or at least
mitigations):

+ Code review: Tests should be given just as much, or more, scrutiny
during code reviews as the code-under-test itself.

+ Pair programming: Pair up on a given feature, with one developer
writing the tests and the other developer writing the implementation;
swap roles for the next feature/iteration/sprint.

+ Integration tests: End-to-end integration tests will, by their nature,
cover more than a single developer's work, so the developer writing
the test is, by definition, not testing only his or her own code.
The same is true for isolated component tests, depending on the size
of the component.


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds