Atlassian Plugin Test Console and QuickReload

This question is in reference to Atlassian Developer Documentation: Run Wired Tests with the Plugin Test Console

Enabling QuickReload requires disabling FastDev. But without Fastdev, the Plugin Test Console no longer works.

Is there another way to run integration tests in the running instance?

3 answers

Hi guys,

same problem here, I might have a solution.
The plugin test console tries to call FastDev at 'rest/fastdev/1.0/reload/withtests' to reload the test classes.
As the job is already done by QuickReload, all you need is a plugin that answers a 204 to this call.

What you need is :

  • create a plugin with the following REST module :
<rest key="rest-resource-withtest" path="/fastdev" version="1.0"/>
  • add the following class in the plugin:
@Provider
@Path("/")
public class FastDefReloadWithTests {
	@POST
	@Consumes({MediaType.APPLICATION_JSON})
	@Path("/reload/withtests")
	@AnonymousAllowed
	public Response withTest() {
		return Response.status(Response.Status.NO_CONTENT).build();
	}
}
  • package install the plugin somewhere in a maven repo
  • add it as pluginArtifact in the amps configuration in your original plugin

This worked fine for me. I just have to mvn package my changes so that quickreload detects it. When it's done the console runs the new version of my tests.

Hope this helps.

I am looking for the same inforamtion too! How to run any type of integration/functional tests from inside already started and running JIRA.

Same here... how can we run Wired tests with quickreload?

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 5 hours ago in Agile

What is ChatOps? A guide to its evolution, adoption, and significance

I am the product of AIM. I can hear that door swinging open and closed in my mind with absolute fidelity. I’d recognize that ding anywhere. At 15, as I typed away into AOL IM, I never imagined that ...

20 views 1 5
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