RE: Re:Re: Is ther a way to run one test of special unit test?

2015-01-19 Thread Zhang, Liyun
, January 19, 2015 11:57 AM To: u...@pig.apache.org Cc: dev@pig.apache.org Subject: Re:Re: Is ther a way to run one test of special unit test? Thanks for reply. But Pig is using ant. At 2015-01-16 15:06:51, Pradeep Gollakota pradeep...@gmail.com wrote: If you're using maven AND using surefire plugin

Re:Re: Is ther a way to run one test of special unit test?

2015-01-18 Thread lulynn_2008
Thanks for reply. But Pig is using ant. At 2015-01-16 15:06:51, Pradeep Gollakota pradeep...@gmail.com wrote: If you're using maven AND using surefire plugin 2.7.3+ AND using Junit 4, then you can do this by specifying -Dtest=TestClass#methodName ref:

Re: Is ther a way to run one test of special unit test?

2015-01-16 Thread Pradeep Gollakota
If you're using maven AND using surefire plugin 2.7.3+ AND using Junit 4, then you can do this by specifying -Dtest=TestClass#methodName ref: http://maven.apache.org/surefire/maven-surefire-plugin/examples/single-test.html On Thu, Jan 15, 2015 at 8:02 PM, Cheolsoo Park piaozhe...@gmail.com

Is ther a way to run one test of special unit test?

2015-01-16 Thread lulynn_2008
Hi All, There are multiple tests in one Test* file. Is there a way to just run only one pointed test? Thanks

Re: Is ther a way to run one test of special unit test?

2015-01-15 Thread Cheolsoo Park
I don't think you can disable test cases on the fly in JUnit. You will need to add @Ignore annotation and recompile the test file. Correct me if I am wrong. On Thu, Jan 15, 2015 at 6:55 PM, lulynn_2008 lulynn_2...@163.com wrote: Hi All, There are multiple tests in one Test* file. Is there a