Why this error? AtlassianPluginsTestRunner cannot be resolved to a type

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

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

atlas-run -DskipTests

But i'm using Eclipse, not cmd!

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published yesterday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

61 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you