1.0.4 • Published 6 years ago
csharpnunit-generator v1.0.4
SnapTest C# NUnit Test Generator
Generates SnapTest suites/tests using C# & NUnit.
*** If you are just getting started, use the C# project harness to get up and running quickly.
To develop/contribute to this generator
First, make sure you have the snaptest-cli tool installed by running npm install -g snaptest-cli
.
Then use snaptest-cli's custom generator flag to utilize your own branch/fork of this generator:
snaptest -c <absolute or relative path to generators index.js> ...
Contributions in the forms of PRs and tickets are welcome.
Full Example:
snaptest -c ./index.js -t iHrsRTzgENFUVI1TPAtIFqyd0QElssxy1TA0X9y
- The -c flag specifics a "custom" generator, which lets you use a local generator on your filesystem. This replaces the -r flag which specifies an official generator.
- The -t flag specific the access token that you can access via the snaptest extension.
No folder or project is specified, so this will generate all the tests in your personal cloud account.
More info
- snaptest-cli reference at snaptest-cli
- Use the SnapTest extension code generator page to explore your options: