How to run one specific test by using tox?

Viewed 573

This is the path to the project

D:\QA\test-framework\python-client

This is a test frame work implemented by python

This is the python file that contains tests

This is the path to the test case that I need to run

D:\QA\test-framework\python-client\test_data\tests\curve.json

This is the beginning of the curve.json file.

 {

"Sklearn - Sklearn - Regression - Curve M2" : [
    {
        "dataImport": {
            "
            "
            "


]

}

This is the tox.ini file

[tox]
envlist = py38

[testenv]
deps =
    pytest
    pytest-html
    pytest-sugar
    pytest-logger
    allure-pytest
    pytest-xdist
    pytest_steps
    datetime
    oauth2client
    gspread
    aiclub
commands = 
    pytest -s -v -k _workflow  --html=test_report.html --alluredir=allure- 
    results/ -n auto --dist=loadfile 
    allure serve allure-results
    pytest {posargs}

I need to run only this curve.json using tox command

0 Answers
Related