VENOM_FORMAT=json venom run my-test-suite.yml If you want to sort many testsuite files, you can use standard commands, example: venom run 02_foo.yml 01_foo.yml will run 02 before 01.venom run 01_foo.yml 02_foo.yml will run 01 before 02.v (INFO level in venom.log file), -vv to very verbose (DEBUG level) and -vvv to very verbose with CPU Profiling Run test suites in a specific order var-from-file strings -var-from-file filename.yaml -var-from-file filename2.yaml: yaml, must contains a dictionary var stringArray -var cds= 'cds -f config.json ' -var cds2= 'cds -f config.json ' stop-on-failure Stop running Test Suite on first Test Case failure output-dir string Output Directory: create tests results file inside this directory example:/etc/venom/lib: $HOME/venom.d/lib lib-dir string Lib Directory: can contain user executors. format string -format:json, tap, xml, yaml (default "xml ") Notice that variables initialized with -var-from-file argument can be overrided with -var argument Run all testsuites containing in files ending with *.yml or *.yaml with verbosity: VENOM_VERBOSE=2 venom run Run a single testsuite and load all variables from a file: venom run mytestfile.yml -var-from-file variables.yaml Run a single testsuite and specify a variable: venom run mytestfile.yml -var= "foo=bar " Run a single testsuite and export the result in XML and HTML formats in test/ folder: venom run mytestfile.yml -format=xml -output-dir=test -html-report Run a single testsuite and export the result in JSON format in test/ folder: venom run mytestfile.yml -format=json -output-dir=test Run a single testsuite: venom run mytestfile.yml Run all testsuites containing in files ending with *.yml or *.yaml: venom run Venom run executors (scripts, HTTP Request, web, IMAP, etc.) and apply assertions. Thanks to that, write and execute testsuites become easier for developers and teams.Ĭoncretely, you have to write testsuite in a YAML file. With Venom, testcases will be managed as code: the readability of the tests means that the tests are part of the code reviews. Venom allows you to handle integration tests the same way you code your application. Use outputs from a test step as input of another test step.Define arguments with environment variables.Venom is a CLI (Command Line Interface) that aim to create, manage and run your integration tests with efficiency.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |