Skip to content

pytest driver#3

Open
edhinard wants to merge 6 commits intoopnfv:masterfrom
edhinard:master
Open

pytest driver#3
edhinard wants to merge 6 commits intoopnfv:masterfrom
edhinard:master

Conversation

@edhinard
Copy link

@edhinard edhinard commented Jul 4, 2022

Here is proposition for a pytest driver

The 'pytest driver' can be used on every test set written for pytest.
Given a pytest package that is launched with the command: pytest --opt1 arg1 --opt2 testdir, it can be executed by xtesting with the following testcase.yaml:

run:
  name: pytest
    args:
      dir: testdir
      options:
        opt1: arg1
        opt2: null

options can be written as a list of strings ['--opt1', 'arg1', '--opt2']

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant