A common thing I'm doing is adding a module to export from a package and adding a test for it. Right now, that requires duplicating the imports setup and anything else done to the module:
This would be weird with the functions on Step.Compile that update root_module directly. These would all mutate the passed in module which would be unexpected:
A common thing I'm doing is adding a module to export from a package and adding a test for it. Right now, that requires duplicating the imports setup and anything else done to the module:
It would be nice to be able to pass the module directly as the root module for the test, eg:
This would be weird with the functions on Step.Compile that update root_module directly. These would all mutate the passed in module which would be unexpected: