-
Notifications
You must be signed in to change notification settings - Fork 9
StorEvil Command Line
StorEvil has a fairly simple command line.
It is recommended you put storevil.exe in your path.
These are switches that are used in both modes.
--story-path, -p
Sets the path to your story files (if different than the PWD).
--assemblies, -a
Sets the path to your context assemblies that are used to interpret the specifications.
(todo: add a switch for specifying story file extensions)
storevil execute
Executes specifications in place and outputs to the console.
storevil debug
Executes specifications in place with debugging support. See Debugging for more information.
storevil nunit
Generates a .cs file with NUnit test fixtures created for each scenario.
The output file defaults to PWD\Generated.cs or you can specify the destination with the -d, --destination
switch:
storevil nunit --destination C:\MyTestProject\GeneratedStorEvilTests.cs
Note that this mode does not have all of the flexibility of in-place execution, and is under less active development.
storevil help {command}
Displays the command-line arguments for the given command (available commands are “execute” or “nunit”).