We have a plugin with a lot of automated tests, mainly Selenium (via Cucumber) that are executed via Bamboo.
Those tests are very slow and not reliable (for example small AUI change can break them and other false positives).
As a alternative, we are focusing on REST tests, combining them with Backdoor object proposed by Atlassian's functest framework (com.atlassian.jira.functest.framework). It is much faster but there are also some limitations: Jira propose endpoints for a lot of different actions but a LOT of administration tasks are not covered (create workflow, add post function to a workflow, etc). So a lot of necessary background tasks for the actual test are currently not possible to execute with REST calls. One alternative is to backup the Jira with already manually configured administration (test background) and to start our test by restoring it via REST call. This is not ideal because backup file is not very "visible" and it is not going to be easy to add / modify / change it when the new tests are written.
I wanted to start a discussion with you about the test strategies that you are using.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events