Re: Re: extension request on org.junit.internal.MethodSorter

Stephen Connolly <[email protected]> Wed, 16 Apr 2014 11:57:47 +0100
Newsgroups gmane.comp.java.junit.user
Message-ID <CA+nPnMyRhEw5WV=XmE81B1NZEXvkAuQo2rBjT5PMEB6ZB3oehw@mail.gmail.com>
Keep in mind that you will be fighting test drivers such as Maven's
Surefire that fork JVMs and decide the inter-class order on their own. Most
likely the best you can do is to sort the classes within a Suite...


On 16 April 2014 08:47, <[email protected]> wrote:

>
>
> Hi David,
>
> Talked to Kevin before about specifying test order and he redirected me to
> this topic.I think implementing sorting on both class level and method
> level will be interesting. We can specify either random order or a
> user-descired order for test execution. Gonna have a look at Sorter class
> and see if I can make extension on it.
>
> Cheers,
> Sien
>
> 
>