Why this error? AtlassianPluginsTestRunner cannot be resolved to a type

Diogo Araujo May 9, 2013

Running it.com.atlassian.plugins.tutorial.MyComponentWiredTest

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.106 sec <<< FAILURE!

Running it.IntegrationTestMyPlugin

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec

Results :

Tests in error:

initializationError(it.com.atlassian.plugins.tutorial.MyComponentWiredTest): Type AtlassianPluginsTestRunner not present

Tests run: 2, Failures: 0, Errors: 1, Skipped: 0

[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!

[INFO] [failsafe:verify {execution: virtual-execution}]

[INFO] Failsafe report directory: C:\Users\dearaujo\PluginForm\xproduct-admin-ui-plugin\target\group-__no_test_group__\tomcat6x\surefire-reports

[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!

[INFO] ------------------------------------------------------------------------

[ERROR] BUILD ERROR

[INFO] ------------------------------------------------------------------------

[INFO] Unable to execute mojo

Embedded error: There are test failures.

Please refer to C:\Users\dearaujo\PluginForm\xproduct-admin-ui-plugin\target\group-__no_test_group__\tomcat6x\surefire-reports for the individual test results.

[INFO] ------------------------------------------------------------------------

[INFO] For more information, run Maven with the -e switch

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 1 minute 32 seconds

[INFO] Finished at: Fri May 10 11:09:44 BRT 2013

[INFO] Final Memory: 68M/164M

[INFO] ------------------------------------------------------------------------

1 answer

1 vote
T I
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 9, 2013

You could skip tests if you don't want to use the autogenereted tests anyway.

atlas-run -DskipTests

Diogo Araujo May 9, 2013

But i'm using Eclipse, not cmd!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events