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 runner does not yet work with interactive mode #400

Open
ryan-collingham opened this issue Mar 20, 2020 · 1 comment
Open

PyTest runner does not yet work with interactive mode #400

ryan-collingham opened this issue Mar 20, 2020 · 1 comment

Comments

@ryan-collingham
Copy link
Contributor

Expected - PyTest runner needs to implement both dry_run() and run_tests_iter() methods to work with interactive mode.

Current behaviour: running any PyTest instance raises NotImplementedError on the backend.

@ryan-collingham ryan-collingham self-assigned this Mar 20, 2020
@ryan-collingham
Copy link
Contributor Author

Traceback:

Traceback (most recent call last):
  File "C:\Users\Ryan\Documents\code\testplan\testplan\runnable\interactive\base.py", line 735, in _log_async_exceptions
    future.result()
  File "C:\Users\Ryan\AppData\Local\Programs\Python\Python38-32\lib\concurrent\futures\_base.py", line 432, in result
    return self.__get_result()
  File "C:\Users\Ryan\AppData\Local\Programs\Python\Python38-32\lib\concurrent\futures\_base.py", line 388, in __get_result
    raise self._exception
  File "C:\Users\Ryan\AppData\Local\Programs\Python\Python38-32\lib\concurrent\futures\thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "C:\Users\Ryan\Documents\code\testplan\testplan\runnable\interactive\base.py", line 192, in run_test
    self._merge_testcase_reports(test.run_testcases_iter())
  File "C:\Users\Ryan\Documents\code\testplan\testplan\testing\base.py", line 331, in run_testcases_iter
    raise NotImplementedError
NotImplementedError

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant