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.

Changes between revision 1 and 2

orig
1
2

Commits

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
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 `pyproject.toml` files with the correct setup to run tests. Testing Done: Created a test extension and saw that it was set up to run tests.
5288bb93231ac941318c8eee1da1324721d0d404 David Trowbridge
reviewboard/cmdline/rbext.py
Loading...