Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pytest driver #3

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

pytest driver #3

wants to merge 6 commits into from

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