Closed pavanpodila closed 4 years ago
It's done in master now.
Added input suppressBuildRunner
(Optional) Suppress using build_runner for unit tests run
default: false because of the majority of packages those days are relying on code generation during the unit testing phase, But now you could suppress it 👍
Awesome...already using it :-)
Thanks for this package! It is going to save lot of time for me 👍. I have a request to add a config variable to skip the
build_runner
tests and instead only dopub run test
. The specific piece of code that needs change is below:...specifically
if [ "$HAS_BUILD_RUNNER" != "" ] && [ "$HAS_BUILD_TEST" != "" ];
. You are checking if thebuild_runner
andbuild_test
packages are present and deciding to run thepub run build_runner test
.Can we have an option where we only do
build_runner test
if explicitly specified. Say with a config input likecheckBuildRunner
? Only if this input is set should you execute thebuild_runner test
, else do thepub run test
?Let me know if this sounds reasonable.