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

Always clean tested application environment and add option to preserve. #22

Open
scott-gibson-sociomantic opened this issue Nov 28, 2017 · 0 comments

Comments

@scott-gibson-sociomantic

Currently the environment logic is unclear exactly what is going on.

If the test suite returns a null env then the env of the test suite will be passed on to the spawned process.
Setting any env variable in the configureTestedApplication method will then cause the existing env to not be used. I recently discovered this when adding stomping prevention for d2 conversion tests and my path was now wiped, causing a test failure.

Behaviour should be updated to always clean the environment by default with an option to preserve.

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

1 participant