| |
@@ -1049,7 +1049,7 @@
|
| |
A popular testing tool, and one which is well integrated in Fedora,
|
| |
is `+tox+`.
|
| |
Upstream, it is commonly used to test against multiple Python versions.
|
| |
- In a Fedora package, BuildRequire test dependencies
|
| |
+ In a Fedora package, BuildRequire test dependencies via `+%pyproject_buildrequires -t+` or `+-e+`
|
| |
(see _Test dependencies_ below)
|
| |
and run `+tox+` with:
|
| |
|
| |
@@ -1551,6 +1551,9 @@
|
| |
+
|
| |
Run tests using `+tox+`.
|
| |
+
|
| |
+ This macro needs BuildRequires generated by the `+-t+` or `+-e+` option of
|
| |
+ <<pyproject_buildrequires,the `+%pyproject_buildrequires+` macro>>.
|
| |
+ +
|
| |
Different environments may be specified with `+-e+`, for example:
|
| |
+
|
| |
[source,spec]
|
| |
See https://bugzilla.redhat.com/2266228