Closed DarthVader3011 closed 4 months ago
I suspect Spock isn't calling the rule. Does https://spockframework.org/spock/docs/2.3/migration_guide.html#_junit_4_support help?
thanks, adding spock-junit4 dependency in gradle it worked. Thanks Wilkinsona cheers
When I execute the above test case which in Spock groovy, the Junit REST documentation object is unable to initialize the context, leading to a null pointer exception.The junitRestDocumenation object contains a ManualRestDocumentaion which has outputDir and context ..so i am getting context as null ...
The Asciidoctorj version i am using is 2.4.0