Re: What's the best way to execute only a single test in ExecutionTest
I added it to cleanup between tests since frequently, adding a new test case becomes a considerable amount of work to cleanup leftovers from previous tests. In addition, it prints out a list of tests that have left some data at the end of running all the test cases. Cheers, Abdullah. > On Oct 13, 2016, at 4:28 PM, Till Westmann wrote: > > Who knows what "get daversename" does and why we need to run it anyway? > > Cheers, > Till > > On 13 Oct 2016, at 14:14, Taewoo Kim wrote: > >> In the past, usually I modified executeTest() of TestExecutor class to >> bypass another test cases by checking cUnit.getName() method and execute >> only one test case. However, nowadays, even if I apply this logic, still >> some parts ("get daversename") for each test (1,300) are executed anyway. >> >> Does anyone know how I can execute only a single test in ExecutionTest? >> >> Best, >> Taewoo
Re: What's the best way to execute only a single test in ExecutionTest
Who knows what "get daversename" does and why we need to run it anyway? Cheers, Till On 13 Oct 2016, at 14:14, Taewoo Kim wrote: > In the past, usually I modified executeTest() of TestExecutor class to > bypass another test cases by checking cUnit.getName() method and execute > only one test case. However, nowadays, even if I apply this logic, still > some parts ("get daversename") for each test (1,300) are executed anyway. > > Does anyone know how I can execute only a single test in ExecutionTest? > > Best, > Taewoo
Re: What's the best way to execute only a single test in ExecutionTest
@Yingyi and @Chris: Thanks. I will try. Best, Taewoo On Thu, Oct 13, 2016 at 2:20 PM, Chris Hillery wrote: > mvn verify -Dtest=ExecutionTest -Dtestre=foo > > will only run tests that match the regular expression "foo". > > Ceej > aka Chris Hillery > > > > On Thu, Oct 13, 2016 at 2:16 PM, Yingyi Bu wrote: > > > Put the test into only.xml or only_sqlpp.xml? > > > > > > On Thu, Oct 13, 2016 at 2:14 PM, Taewoo Kim wrote: > > > > > In the past, usually I modified executeTest() of TestExecutor class to > > > bypass another test cases by checking cUnit.getName() method and > execute > > > only one test case. However, nowadays, even if I apply this logic, > still > > > some parts ("get daversename") for each test (1,300) are executed > anyway. > > > > > > Does anyone know how I can execute only a single test in ExecutionTest? > > > > > > Best, > > > Taewoo > > > > > >
Re: What's the best way to execute only a single test in ExecutionTest
mvn verify -Dtest=ExecutionTest -Dtestre=foo will only run tests that match the regular expression "foo". Ceej aka Chris Hillery On Thu, Oct 13, 2016 at 2:16 PM, Yingyi Bu wrote: > Put the test into only.xml or only_sqlpp.xml? > > > On Thu, Oct 13, 2016 at 2:14 PM, Taewoo Kim wrote: > > > In the past, usually I modified executeTest() of TestExecutor class to > > bypass another test cases by checking cUnit.getName() method and execute > > only one test case. However, nowadays, even if I apply this logic, still > > some parts ("get daversename") for each test (1,300) are executed anyway. > > > > Does anyone know how I can execute only a single test in ExecutionTest? > > > > Best, > > Taewoo > > >
Re: What's the best way to execute only a single test in ExecutionTest
Put the test into only.xml or only_sqlpp.xml? On Thu, Oct 13, 2016 at 2:14 PM, Taewoo Kim wrote: > In the past, usually I modified executeTest() of TestExecutor class to > bypass another test cases by checking cUnit.getName() method and execute > only one test case. However, nowadays, even if I apply this logic, still > some parts ("get daversename") for each test (1,300) are executed anyway. > > Does anyone know how I can execute only a single test in ExecutionTest? > > Best, > Taewoo >
What's the best way to execute only a single test in ExecutionTest
In the past, usually I modified executeTest() of TestExecutor class to bypass another test cases by checking cUnit.getName() method and execute only one test case. However, nowadays, even if I apply this logic, still some parts ("get daversename") for each test (1,300) are executed anyway. Does anyone know how I can execute only a single test in ExecutionTest? Best, Taewoo