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 <buyin...@gmail.com> wrote:

> Put the test into only.xml or only_sqlpp.xml?
>
>
> On Thu, Oct 13, 2016 at 2:14 PM, Taewoo Kim <wangs...@gmail.com> 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
> >
>

Reply via email to