1.0.4 • Published 6 years ago

csharpnunit-generator v1.0.4

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

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

  1. 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.
  2. The -t flag specific the access token that you can access via the snaptest extension.
  3. No folder or project is specified, so this will generate all the tests in your personal cloud account.

More info

  1. snaptest-cli reference at snaptest-cli
  2. Use the SnapTest extension code generator page to explore your options:

generate test icons generate test screens