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
Community showcase
Posted Oct 11, 2018 in Marketplace Apps

You + one app + a desert island...

Hi all! My name is Miles and I work on the Marketplace team. We’re looking for better ways to recommend and suggest apps that are truly crowd favorites, so of course we wanted to poll the Community. ...

2,575 views 5 6
Join discussion

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