#Ballerina build with tests.

1 messages · Page 1 of 1 (latest)

eternal moth
#

Is there a recommended approach for building the ballerina project only if the test cases are passing?
bal build command does not execute test cases.
Do we need to manually run bal test and check the results and then execute bal build command or is there any straight forward way to handle this scenario ?

strong tundra
#

Yeah, I believe the recommended way is to run bal test and then bal build. Looping in @prisma schooner and @tepid saffron for input too.

Related spec discussion: https://github.com/ballerina-platform/ballerina-spec/issues/966#issuecomment-954157263

GitHub

For Swan Lake Beta4, we decided to improve the default behavior of bal build by not executing tests. With that, we will be removing the --skip-tests option. This is the first step towards preparing...