Tianying Chang 2013-03-26, 20:52
-Re: Cannot run selected test under 0.94, is OK under trunk/95 though.
Andrew Purtell 2013-03-26, 20:54
Use one of the Maven switches -PrunAllTests or -PlocalTests
On Tue, Mar 26, 2013 at 9:52 PM, Tianying Chang <[EMAIL PROTECTED]> wrote:
> I can run either full test or a selected test under either trunk or 95.
> But after I checkout to branch 94, I found I cannot run a selected test
> anymore. It can still run the full test suite though. I am adding a new
> unit test, I don't want to have run the whole test suite each time. Anyone
> has any idea what went wrong here?
> I did following:
> >git checkout -b myChange remote/origin/0.94
> >mvn -Dtest=TestAdmin test
> [ERROR] Failed to execute goal org.apache.maven.plugins:
> maven-surefire-plugin:2.12-TRUNK-HBASE-2:test (default-test) on project
> hbase: No tests were executed! (Set -DfailIfNoTests=false to ignore this
> error.) -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.apache.maven.plugins:maven-surefire-plugin:2.12-TRUNK-HBASE-2:test
> (default-test) on project hbase: No tests were executed! (Set
> -DfailIfNoTests=false to ignore this error.)
Problems worthy of attack prove their worth by hitting back. - Piet Hein
(via Tom White)
Tianying Chang 2013-03-26, 21:37