/SlashFramework

Basic tests script for slash framework in python

Primary LanguagePython

SlashFramework

Official Website https://slash.readthedocs.io/en/master/

Basic tests script for slash framework written in python and running on Windows OS. You can use Git Bash or command prompt(cmd) on Windows to run the tests.

Activate virtualenv

$ source myenv/Scripts/activate  # Git Bash
> myenv\Scripts\activate.bat     # cmd

Install requirments

pip install -r requirements.txt

How to run any test?

slash run path/to/file/test_filename.py

Output for pass and fail scenario

pass-fail

How to list available Fixtures or Testcases?

slash list tests

list

How to run a single test multiple times?

slash run tests\test_file.py --repeat-all 4   # this single test will run 4 times

How to run test in verbose mode?

slash run -vvv tests\test_filename.py