You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What do you think about adding an activate_with function that allows additional dependencies to be added to the test environment?
The use case I'm thinking of is to avoid having to do this, which doesn't work in the situation where the TestReports is already in the package deps (issue). I think it can be done using more of package internals (which is less nice).
I think this could be done by creating a new override project to pass in via the test_project_override arg here, with lots of careful checking of whether or not the additional package is already in the project/test deps. Also ideally the version used of the additional package would come from the calling environment (e.g. if it was a devd package, it would use the local dev version in the test environment).
The text was updated successfully, but these errors were encountered:
What do you think about adding an
activate_with
function that allows additional dependencies to be added to the test environment?The use case I'm thinking of is to avoid having to do this, which doesn't work in the situation where the
TestReports
is already in the package deps (issue). I think it can be done using more of package internals (which is less nice).I think this could be done by creating a new override project to pass in via the
test_project_override
arg here, with lots of careful checking of whether or not the additional package is already in the project/test deps. Also ideally the version used of the additional package would come from the calling environment (e.g. if it was adev
d package, it would use the local dev version in the test environment).The text was updated successfully, but these errors were encountered: