[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.