Currently npx blueprint build allows for specifying a build target. However for npx blueprint test, it's not possible to specify only 1 file to test, so every time all tests are run which is unnecessarily time-consuming in a large project.
Proposed solution
Make the syntax of npx blueprint build and npx blueprint test consistent:
npx blueprint test displays the chooser of all files in ./tests folder
npx blueprint test --all runs all tests.
npx blueprint test [target] runs only the specified test.
Background
Currently
npx blueprint build
allows for specifying a build target. However fornpx blueprint test
, it's not possible to specify only 1 file to test, so every time all tests are run which is unnecessarily time-consuming in a large project.Proposed solution
Make the syntax of
npx blueprint build
andnpx blueprint test
consistent:npx blueprint test
displays the chooser of all files in ./tests foldernpx blueprint test --all
runs all tests.npx blueprint test [target]
runs only the specified test.