Generates BDD living documentation based on Cucumber tests results

This plugin expects Cucumber json output from your tests to generate the documentation of your project. The plugin uses the json report to produce html and pdf documentation that will be available after build execution.

To build the documentation from your tests results you need to use cucumber json formatter:

    import cucumber.junit.Cucumber;
	import org.junit.runner.RunWith;

	@RunWith(Cucumber.class)
	@Cucumber.Options(format = "json:target/cucumber.json")
	public class CucumberTest {
	}

Note that format option was replaced by plugin in newer cucumber versions.

If you face java.lang.ClassCircularityError: org/jruby/RubyClass you probably hit issue JENKINS-31019, to solve that need to upgrade your installation to v1.640 or newer.

Cucumber living documentation plugin is backed by Cukedoctor, a BDD living documentation tool which integrates Cucumber. and Asciidoctor