Junit5 and spira

Tuesday, June 26, 2018
Avatar

Hello,

 

this was my junit4 code
                JUnitCore core = new JUnitCore();
                SpiraTestListener listener = new SpiraTestListener();
                listener.setUrl("url");
                listener.setUserName("xxx");
                listener.setPassword("xxx");
                listener.setProjectId(1);
                listener.setReleaseId(-1);
                listener.setTestSetId(-1);
                core.addListener(listener);
                core.run(testCase.getClassName());

 

How I can do the same in junit5? Is there some documentation?

2 Replies
Monday, July 2, 2018
Avatar
inflectra.jimx
re: benjamin Tuesday, June 26, 2018

Hi Benjamin,

I would recommend logging a help desk ticket to get more specific advice.

Here's some general advice - https://stackoverflow.com/questions/48595037/whats-the-junit-5-way-for-runlisteners

Regards

Jim

Monday, July 16, 2018
Avatar
re: inflectra.jimx Monday, July 2, 2018

Hi Benjamin,

We just released an updated plugin for JUnit 5:

https://www.inflectra.com/Ideas/Entry/junit-5-extension-now-available-675.aspx

Regards

Adam

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885

 

Statistics
  • Started: Tuesday, June 26, 2018
  • Last Reply: Monday, July 16, 2018
  • Replies: 2
  • Views: 12052