Skip Navigation LinksForums > SpiraTest Forums > SpiraTest Best Practices > Spiratest and JUnit Autom...

Spiratest and JUnit Automated Tests RSS Feed

Wednesday, February 12, 2014
I'm trying to set up a connection between Spiratest and my automated tests (Thucydides/Selenium/Junit).
But I have no connection so far.

If I debug my test, it doesn't reach the code that is responisble for the connection:

import static org.junit.Assert.*;
import junit.framework.JUnit4TestAdapter;

import org.junit.Test;
import org.junit.runner.JUnitCore;

import com.inflectra.spiratest.addons.junitextension.SpiraTestCase;
import com.inflectra.spiratest.addons.junitextension.SpiraTestConfiguration;
import com.inflectra.spiratest.addons.junitextension.SpiraTestListener;


url = "http://XXXX/SpiraTest", login = "administrator", password = "XXXX", projectId = 12, releaseId = -1, testSetId = -1

public class Test1 {

    @SpiraTestCase(testCaseId = 91)
    public void IsStandardArticlePresent() {
        boolean status = false;


    public static void main(String[] args) {
        // Instantiate the JUnit core
        JUnitCore core = new JUnitCore();
        // Add the custom SpiraTest listener
        core.addListener(new SpiraTestListener());
        System.out.println("Test main");
        // Finally run the test fixture;

    public static junit.framework.Test suite() {
        return new JUnit4TestAdapter(Test1.class);


2 Replies
Adam SAdam S
re: Bart Van Raemdonck on Wednesday, February 12, 2014
Wednesday, February 12, 2014

Hi Bart

Could you please log a help desk ticket regarding this.



Cuong NguyenCuong Nguyen
re: Adam S on Wednesday, February 12, 2014
Thursday, July 24, 2014
Hi Adam,

I also have the same issue with Bart. Would you please to support for me in this case ?? 
and I created a new ticket TK-14041.

Cuong Nguyen
  • Started: 2/12/2014
  • Last Reply: 7/24/2014
  • Replies: 2
  • Views: 5199
Powered by KronoDesk v1.1.0.15 | © Copyright Inflectra Corporation 2011-2016 | Licensed to Inflectra Corporation.