Skip Navigation LinksHome Page > Forums > Integrations & Plug-Ins > IDE Integration > Junit5 and spira
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?
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
We just released an updated plugin for JUnit 5:
https://www.inflectra.com/Ideas/Entry/junit-5-extension-now-available-675.aspx
Adam
And if you have any questions, please email or call us at +1 (202) 558-6885