ton-org / blueprint

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

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

Open 0kenx opened 6 months ago

0kenx commented 6 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 3 months ago

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

a-bahdanau commented 3 weeks ago

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