-
Notifications
You must be signed in to change notification settings - Fork 145
Update hatch run test to support arguments #408
Copy link
Copy link
Closed
Labels
smartbear-supportedThis issue is supported by SmartBearThis issue is supported by SmartBear
Description
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
Description
Hatch scripts have a placeholder for additional arguments. For example, if wanting to run only a subset of all tests, it should be possible to do:
hatch run test tests/v3Hatch supports this by looking for {arg} or {arg:<default>} in the script's string.
While this was included in the lint rules, it was unfortunately omitted from the test rules.
Completion of this requires:
- Fixing the
testscript in the default environment - Fixing the
testscript in the test environment matrix
Has this been requested on Canny?
No response
Motivation
This issue was identified in #395 (comment).
Have you tried building it?
No response
Self-service
- I'd be willing to contribute this feature to Pact Python myself.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
smartbear-supportedThis issue is supported by SmartBearThis issue is supported by SmartBear
Type
Projects
Status
✅ Completed