Add --pytest argument to `rbext test`.

Review Request #13077 — Created May 30, 2023 and submitted

Information

Review Board
release-6.x

Reviewers

This adds a flag for opting into the new pytest-based test runner.

  • Ran rbext test -m rbintegrations and saw it run the tests with the
    old nose runner, showing a warning about the change in the future.
  • Ran rbext test -m rbintegrations --pytest and saw it run all of the
    same tests via pytest.
Summary ID
Add --pytest argument to `rbext test`.
This adds a flag for opting into the new pytest-based test runner. Testing Done: - Ran `rbext test -m rbintegrations` and saw it run the tests with the old nose runner, showing a warning about the change in the future. - Ran `rbext test -m rbintegrations --pytest` and saw it run all of the same tests via pytest.
13641b3a33c9063c765d72dfd8e30ba86a253075
Description From Last Updated

Awesome! How about we make this default today if a conftest.py is present, and then generate an empty one (or, …

chipx86chipx86
chipx86
  1. 
      
  2. Show all issues

    Awesome! How about we make this default today if a conftest.py is present, and then generate an empty one (or, well, one with a comment probably) when generating a source tree?

    1. I'll add the creation part in a separate change. We'll also want a few small bits in setup.cfg to match.

  3. 
      
david
chipx86
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to release-6.x (02d4fed)