Tagged Questions
2
votes
2answers
116 views
Assignments in mock return values
(I will show examples using php and phpunit but this may be applied to any programming language)
The case: let's say we have a method A::foo that delegates some work to class M and returns the value ...
3
votes
3answers
117 views
migrating product and team from startup race to quality development [duplicate]
Possible Duplicate:
A simple ways to improve the release quality in RAD environment
This is year 3 and product is selling good enough. Now we need to enforce good software development ...
0
votes
4answers
219 views
How do I convince some one that test should do assertion (not assertions) and not the helper methods
Joined a new employer and came across a new style of writing tests.
@Test()
public testMethodWhichDoesNotDoAnyAssertion() {
LoginPage loginPage = signUpPage.doLogin("username","password");
...
14
votes
7answers
1k views
Unit test coding standards
Usually when talking about coding standards we refer to the code of the program itself, but what about the unit tests? Are there certain coding standards guidelines that are unique to unit tests? What ...