Thanks for the suggestion. I didn't know this exists. Still I think, that dependencies should be supported by JUnit out of the box.
--- On Fri, 7/25/08, adrian.kuhn <
adrian.kuhn@...> wrote:
From: adrian.kuhn <
adrian.kuhn@...>
Subject: [junit] Re: Does JUnit 4 now support dependencies?
To:
junit@...
Date: Friday, July 25, 2008, 7:11 AM
Dear Hans,
have a look at JExample, it extends JUnit with first-class dependencies. You can declare
@Depends(... ) which is taken into account when running the test graph. Tests may have
return values even, which are injected as parameter to dependent tests.
http://www.iam. unibe.ch/ ~scg/Research/ JExample/
cheers,
Adrian
--- In junit@yahoogroups. com, "hans_schwaebli" <hans_schwaebli@ ...> wrote:
>
> I now think that test dependencies are a good idea.
>
> Does JUnit 4.x support such dependencies, or if not, is it planned for
> a certain JUnit release to be added?
>
> For example, if the login test did not work, than all other tests
> cannot work. They depend on the login test. If login test fails, the
> other tests are not executed.
>
[Non-text portions of this message have been removed]