Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reworked how the test state is maintained for mstest scenarios, got r…
…id of the hackiness added to the common library.
- Loading branch information
1 parent
12d2317
commit 1b91586
Showing
2 changed files
with
28 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1b91586
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was largely done in order to fix issues with the mstest test fixture lifecycle. the life of the test state needs to live for a long time due to the multiple times the test fixture gets constructed. to facilitate that we statically cache the test state by scenario. this enables us to know when all 'thens' have been run, as well as when to invoke the context setup.