Xceptance / neodymium-library

A test automation library based on common other best practice open source libraries. It adds missing functionalities but does not reinvent the wheel. Just glues stuff together nicely and adds some sprinkles.
MIT License
80 stars 11 forks source link

Bug: Test Context is not cleared after run #266

Closed wurzelkuchen closed 2 months ago

wurzelkuchen commented 2 months ago

Quick Description

We keep test data in the context during a test run. If a new test starts in the same thread the context is reused, but the data is kept, so if the new test does not explicitly override the data following tests might use wrong test data.

Actual Behaviour

If a test is reusing a thread test data form previous tests are not removed can bleed through to the current run.

Expected Behaviour

If a test runs it will only use the testdata for this specific test, no matter what happened in previous tests.