ton-org / blueprint

TON development for professionals - all-in-one tool for writing, testing and deploying smart contracts
473 stars 94 forks source link

[feat] Add option to choose test target in `npx blueprint test` #78

Open 0kenx opened 10 months ago

0kenx commented 10 months ago

Background

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:

wedvjin commented 8 months ago

npm test -t <target> is the workaround till implemented

a-bahdanau commented 4 months ago

@krigga it will break pipelines i think. Maybe left npx blueprint test run all tests and allow npx blueprint test [target]?