Skip to content

[Experimental] Add TestContext.Current#7315

Open
Evangelink wants to merge 3 commits intomainfrom
dev/amauryleve/testcontext-current
Open

[Experimental] Add TestContext.Current#7315
Evangelink wants to merge 3 commits intomainfrom
dev/amauryleve/testcontext-current

Conversation

@Evangelink
Copy link
Member

Fix #6137

@Evangelink
Copy link
Member Author

@Youssef1313 I was also wondering if we want to take this as an opportunity to introduce different types/interfaces for the various stages of the context? The idea being that we could offer different state based on the stage (e.g. after test runs, we know the result, after all tests of a class run we know all results...)

@Youssef1313
Copy link
Member

@Youssef1313 I was also wondering if we want to take this as an opportunity to introduce different types/interfaces for the various stages of the context? The idea being that we could offer different state based on the stage (e.g. after test runs, we know the result, after all tests of a class run we know all results...)

That seems like a much bigger piece of work. We definitely can do given some design proposal.

@Evangelink Evangelink marked this pull request as ready for review February 6, 2026 19:33
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

Successfully merging this pull request may close these issues.

Consider exposing TestContext.Current static property

2 participants