Wired Tests not shown in plugin test console Edited

I migrate my custom plugin to Confluence 6.1.1. All is working fine, but I can't anymore run my wired tests, because they aren't not shown in the plugin test console any more.

I am make all steps which where defined here: Instruction Guide.

If I am running atlas-integration-test, I am getting this message when my test is running:

http://localhost:1990/confluence/rest/atlassiantestrunner/1.0/runtest/it.*.*.ConfluenceUserIntegrationTest

404 Not found.

So, how I have to use Wired Test in the context of Confluence 6?

Test-Class

 

@RunWith(AtlassianPluginsTestRunner.class)
public class ConfluenceUserIntegrationTest {
	private final UserGroupService userGroupService;
	
	public ConfluenceUserIntegrationTest(UserGroupService userGroupService) {
		this.userGroupService = userGroupService;
	}

	@Test
	public void userUpdateJob() {
userGroupService
...

} }

pom.xml

<plugin>
				<groupId>com.atlassian.maven.plugins</groupId>
				<artifactId>maven-confluence-plugin</artifactId>
				<version>${amps.version}</version>
				<extensions>true</extensions>
				<configuration>
					<allowGoogleTracking>false</allowGoogleTracking>
					<productVersion>${confluence.version}</productVersion>
					<productDataVersion>${confluence.data.version}</productDataVersion>
					<instructions>
						<Atlassian-Plugin-Key>${project.groupId}.${project.artifactId}</Atlassian-Plugin-Key>
						<Spring-Context>*</Spring-Context>
						<Export-Package>*
						</Export-Package>
						<Import-Package>*;version="0";resolution:=optional</Import-Package>
					</instructions>
				    <productDataPath>${basedir}/src/test/resources/generated-test-resources.zip</productDataPath>
					<products>
						<product>
							<id>confluence</id>
							<instanceId>confluenceExpected</instanceId>
							<!-- <productVersion>${confluence.version}</productVersion>
							-->
							<productDataVersion>${confluence.data.version}</productDataVersion>
						</product>
					</products>
					<testGroups>
						<testGroup>
							<id>confluence-integration</id>
							<productIds>
								<productId>confluence</productId>
							</productIds>
							<includes>
								<include>it/**/*Test.java</include>
							</includes>
						</testGroup>
					</testGroups>
				</configuration>
			</plugin>

 

1 answer

0 vote
Thomas Schlegel Community Champion Apr 05, 2017

Hi Steffen,

Questions about developing Plugins for Atlassian Products should better be asked in the Atlassian Developer Community Platform  

Thank you 

Thomas

 

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
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

381 views 21 10
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