On Jan 3, 2013, at 3:59 PM, Amila Jayasekara <[email protected]> wrote:
> On Thu, Jan 3, 2013 at 3:47 PM, Lahiru Gunathilake <[email protected]> wrote: >> I am +1 for this, if JUnit is not providing proper solution. But I thought >> JUnit just run tests according to written order, if is not guaranteed we >> need to use this. > > I am not certain about that. It may. But still TestNG gives more > functionalities such as grouping tests, dependencies between groups > etc ... In this way we can order tests in multiple ways. > Therefore I think for integration tests TestNG is more suitable. I haven't tried it, but from the docs it looks promising. Glad to see you are trying for integration tests so we can get some insightful advantages of improvements over junit. Looks like the license is ASF and has good maven, ellipse and idea support. So + 1 for this change. Suresh > > Thanks > Amila > >> >> >> Regards >> Lahiru >> >> On Wed, Jan 2, 2013 at 12:17 PM, Amila Jayasekara >> <[email protected]>wrote: >> >>> Hi All, >>> >>> It seems like it is hard to sequence test cases using JUnit. In >>> integration-tests we need to order test cases. TestNG [1] is capable >>> of ordering test cases. For integration tests shall we use TestNG ? >>> >>> [1] http://testng.org/doc/index.html >>> >>> Thanks >>> Amila >>> >> >> >> >> -- >> System Analyst Programmer >> PTI Lab >> Indiana University
