git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Parameterized Tests (was Re: ant git commit: Inline buildfile names, make search easier)


2018-05-05 17:58 GMT+02:00 Stefan Bodewig <bodewig@xxxxxxxxxx>:

> What is the benefit of changing tests that currently pass when neither
> the test itself nor the code under test is changed?
>

That would be avoiding repetitive code => lucidity.
Eg, for every simple executeTarget("test") there are at least 3 more lines
of boilerplate
(annotation, test method name and braces).
Or, in case of fixture extraction, making sure there are no side effects
from fixture reuse.

Gintas


( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-ant-development/msg01915.html on line 82
Call Stack
#TimeMemoryFunctionLocation
10.0007363096{main}( ).../msg01915.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-ant-development/msg01915.html on line 82
Call Stack
#TimeMemoryFunctionLocation
10.0007363096{main}( ).../msg01915.html:0