Adding JUnit jar to a gradle project

Friday, September 14, 2018 5:46:03 PM

Hi,

I'm using Bobcat as automation framework, and it uses gradle to build it.

I want to use also the JUnit plugin so my test results are written into Spiratest.

I added the jar to the library of my project, in my editor everything looks fine, but if I run my tests it says 

/Users/macbookprobartvr/Documents/workspace/AEM/testbobcat1/src/test/java/be/vrt/aem/sporza/SporzaTestCase.java:14: error: package com.inflectra.spiratest.addons.junitextension does not exist
import com.inflectra.spiratest.addons.junitextension.*;

 

Does anyone have a idea?

2 Replies
Friday, September 14, 2018 6:03:43 PM
Avatar
re: BartVR on Friday, September 14, 2018 5:46:03 PM

You probably need to add the SpiraTest JAR file to your classpath.

Regards

Jim

Monday, September 17, 2018 3:29:47 PM
Avatar
re: inflectra.jimx on Friday, September 14, 2018

I already tried that, but still I have the same error.

Statistics
  • Started: Friday, September 14, 2018 5:46:03 PM
  • Last Reply: Monday, September 17, 2018 3:29:47 PM
  • Replies: 2
  • Views: 24