Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

activate_with function #5

Open
mmiller-max opened this issue Aug 1, 2021 · 1 comment
Open

activate_with function #5

mmiller-max opened this issue Aug 1, 2021 · 1 comment

Comments

@mmiller-max
Copy link
Member

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).

@oxinabox
Copy link
Member

oxinabox commented Aug 1, 2021

maybe.
It seems difficult.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants