Well, there's probably a balance to make between test number in a test
class (hence
easier detection of failed tests) and the level of granularity that
shouldn't be overly
fine-grained IMHO.
For instance, I generally like, when test feature A, to do sthg like
for (valid_input: valid_inputs_classes)
testInputOK
for (invalid_input: invalid_inputs_classes)
testInputKO
So yes, it would be nice to have "reset" implemented.
Thanks anyway for this great soft!
Frédéric
On 4 déc, 07:15, "Johan Haleby" <
johan.hal...@gmail.com> wrote:
> That's true we haven't implemented the reset method. The reason is simply
> that we're not using it ourselves. I think it's better if you split your
> test into two different tests with good naming instead of using reset. But
> if you like a reset functionality I'll implement it in PowerMock as well.
>
> /Johan
>
> On Wed, Dec 3, 2008 at 6:28 PM, Frédéric Delanoy <
frederic.dela...@gmail.com