I configured my plugin using SR documentation and tests work from website runner but I cannot run tests from Intellij and keep getting error:
My test class looks like this:
package it.com.example
import com.onresolve.scriptrunner.canned.common.admin.ScriptRunnerTestRunner
import org.junit.runner.RunWith
import spock.lang.Specification
@RunWith(ScriptRunnerTestRunner)
class RunnerSampleSpecTest extends Specification {
def "test something"() {
expect:
true
}
}
I had to shorten command line in junit configuration, maybe that's the reason?
Hello,
I have a similar problem, you were able to solve it.
If that is the case, your solution would be really helpful and maybe even the solution to my problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In order to tests where found when running them from Idea, package with your tests should be specified in Scriptrunner UI
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.