Adding JUnit jar to a gradle project

Friday, September 14, 2018
Avatar

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
Avatar
re: BartVR Friday, September 14, 2018

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

Regards

Jim

Monday, September 17, 2018
Avatar
re: inflectra.jimx Friday, September 14, 2018

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

Statistics
  • Started: Friday, September 14, 2018
  • Last Reply: Monday, September 17, 2018
  • Replies: 2
  • Views: 2972