Add --pytest argument to `rbext test`.

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

david
Review Board
release-6.x
reviewboard

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
Add --pytest argument to `rbext test`.
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. 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: Closed (submitted)

Change Summary:

Pushed to release-6.x (02d4fed)
Loading...