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

This widget could not be displayed.

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 Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Jul 25, 2018 in Marketplace Apps

Jira Cloud and Bitbucket Cloud Integration with Microsoft Teams

One of the newest products in the Microsoft family - Microsoft Teams,  is a chat-based hub for teamwork that integrates all the people, content, and tools your team needs to be more engaged and ...

731 views 0 3
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