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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Marketplace Apps

Three tips for boosting your board's efficiency with Story Maps

Trello is one of the most effective tools for driving your sprints. It's customizable for every Agile team and product owners and Scrum masters (SM) love it. However, Agile teams often struggle with:...

828 views 2 9
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