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

v3 Roadmap #2133

Open
bradwilson opened this issue Aug 14, 2020 · 0 comments
Open

v3 Roadmap #2133

bradwilson opened this issue Aug 14, 2020 · 0 comments

Comments

@bradwilson
Copy link
Member

bradwilson commented Aug 14, 2020

A quick note about this list... It represents a moment in time for planning for a final list of v3 features. Until items are checked off, there is no guarantee that the feature will make it into v3. We reserve the right to rearrange and modify this list at will as we work through the issues and decide whether we can and will implement them.

Architecture

Core Framework

Assertion Library

Runner Library

Runners

Extensibility

Bugs/Small Features

Open Questions/Further Discussion Required

Miscellaneous

  • All source uses tabs now instead of spaces (reasoning)
  • Move VSTest plugin (xunit.runner.visualstudio) to its own project

Breaking Changes

  • IAsyncLifetime now derives from IAsyncDisposable, which changes the return value for DisposeAsync from Task to ValueTask. For better symmetry, the return value for InitializeAsync is now also ValueTask.
  • ITestFramework.GetExecutor now takes IReflectionAssemblyInfo instead of AssemblyName.
  • TestInvoker.GetTaskFromResult was renamed to GetValueTaskFromResult and now returns a ValueTask.
  • TestAssemblyConfiguration.PreEnumerateTheoriesOrDefault() has been removed, to force runners to choose what the default behavior they want is. The previous default (true) had performance problems, and was being awkwardly handled with runners which wanted a different default value.
  • ITestFrameworkDiscoveryOptions.PreEnumerateTheoriesOrDefault() has changed the default to false for performance reasons. Runners which require/desire theory pre-enumeration must now explicitly request it.
@xunit xunit locked and limited conversation to collaborators Aug 14, 2020
@bradwilson bradwilson pinned this issue Sep 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant