Open cptartur opened 2 months ago
IMO This issue it quite urgent since it really ruins the development experience that you have to wait 5 minutes every small change that you make in the code to see if the tests pass :(
@RealJohnnyTime we are working on a solution
The one thing left to do is to omit compiling lib
target when --no-optimization
flag is enabled. This should be done by leveraging --target-kinds
flag in the scarb build
command (added in Scarb 2.8.3).
Right now we run Scarb compilation two times: First to build contracts used in tests and again to build test targets. We should implement some mechanism that allows the tests to be compiled alongside with tests artifacts.
First, we should create a design doc for this.