Pytest GUI introduces a web preview of your tests.
- Discovering and collecting tests.
- Select test to run.
- Running and stopping tests.
- Live log view.
- Report directory that contains test history.
The project is currently not on pip so follow the build guide or download the uploaded release.
pytest-gui <test-dir>
Pytest GUI supports a couple of environment variables.
PYTEST_GUI_LOG_LEVEL
- Loggers logging level supports pythonlogging
package level values. (Default: info)PYTEST_GUI_REPORT_DIR
- Report directory to save log history. (Default: '.reports')PYTEST_GUI_TEST_DIR
- Test directory this value is overwritten by command line argument if given. (Default: '.')
This package utilizes the Pipenv tool to containerize the dependencies.
- Install dependencies
pipenv install --dev
. - Run
npm i
in the frontend directory to install required npm packages. - Run the
vscode
taskBuild all
(or follow it).