Allow multiple features in volatile configuration #52

Closed
jbpros opened this Issue Mar 25, 2012 · 1 comment

Projects

None yet

1 participant

@jbpros
Owner
jbpros commented Mar 25, 2012

It's currently not possible to load more than one feature with the volatile configuration, making it impossible to run a feature suite in memory-only environments like browsers.

Owner
jbpros commented Mar 25, 2012

The VolatileConfiguration object is the one used by the Cucumber constructor. Which in turn is the constructor one can invoke to quickly instantiate a Cucumber.js runner.

Currently we can do this:

var cucumber = Cucumber(featureSource, supportCode);

Where featureSource can only be a String (supportCode being a function).

It should allow for the following:

var cucumber = Cucumber(featureSources, supportCode);

Where featureSources would be an Array of Strings.

@jbpros jbpros closed this in f5417c0 Oct 9, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment