Skip to content


Subversion checkout URL

You can clone with
Download ZIP
TestNG Factory Generator for Cucumber-JVM
Branch: master
Pull request Compare This branch is 20 commits behind talios:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


The cucumber-testng-factory builder is an attempt to provide a launchpad for Cucumber-JVM from the TestNG based test framework.

Simply add a testng @Factory method to a class container cucumber annotations and build the factory:

public class TestFactory {

  public Object[] create() {
    return CucumberFactoryBuilder.create(new File("src"));


See src/test/java/com/talios/TestFactory for an example.

Currently there are several limitations with the factory builder such as not supporting TestNG groups and dependencies, two things which were the driving reason for attempting to build the bridge.

Hopefully these will come in time.

Something went wrong with that request. Please try again.