Create pytest infrastructure in `rbext create`

Review Request #13084 — Created May 31, 2023 and submitted — Latest diff uploaded

Information

Review Board
release-6.x

Reviewers

Now that we can use pytest in extensions, we want to create that as part
of creating a new extension. This change adds the machinery to generate
conftest.py and pyproject.toml files with the correct setup to run
tests.

Created a test extension and saw that it was set up to run tests.

Diff Revision 1

This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.

orig
1
2

Commits

First Last Summary ID Author
Create pytest infrastructure in `rbext create`
Now that we can use pytest in extensions, we want to create that as part of creating a new extension. This change adds the machinery to generate `conftest.py` and `setup.cfg` files with the correct setup to run tests. Testing Done: Created a test extension and saw that it was set up to run tests.
12d7d10cd0c1a8a2d3c42758a4a09f386a50ffe1 David Trowbridge
reviewboard/cmdline/rbext.py
Loading...