Update hatch run test
to support arguments
#408
Labels
smartbear-supported
This issue is supported by SmartBear
hatch run test
to support arguments
#408
Have you 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/v3
Hatch 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:
test
script in the default environmenttest
script in the test environment matrixHas this been requested on Canny?
No response
Motivation
This issue was identified in #395 (comment).
Have you tried building it?
No response
Self-service
The text was updated successfully, but these errors were encountered: