tact icon indicating copy to clipboard operation
tact copied to clipboard

`gen:contracts:test` script should allow compiling a subset of tests

Open anton-trunov opened this issue 10 months ago • 3 comments

It should allow specifying a subset of test contracts to build using jest-like patterns:

$ yarn gen:contracts:test math
$ yarn test math

Re-building all test contracts is too time-consuming when working on a specific fix.

anton-trunov avatar Jan 22 '25 07:01 anton-trunov

Btw, I would actually like a make-like functionality for this. So, yarn test would rebuild test contracts if there are any changes to their source code and then run tests with Jest.

anton-trunov avatar Jan 22 '25 07:01 anton-trunov

@i582 JFYI most of this is resolved in CLI refactor that will be merged in a couple hours, so don't start doing this immediately.

verytactical avatar Jan 22 '25 07:01 verytactical

@i582 JFYI most of this is resolved in CLI refactor that will be merged in a couple hours, so don't start doing this immediately.

Okey 😃

i582 avatar Jan 22 '25 07:01 i582