- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 95
chore(deps): update tunit to 0.50.0 #2517
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
          
     Merged
      
      
    
                
     Merged
            
            
          Conversation
  
    
      This file contains hidden or 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 was referenced Sep 22, 2025 
      
  This was referenced Sep 29, 2025 
      
  This was referenced Oct 6, 2025 
      
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
      Labels
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
This PR contains the following updates:
0.24.0->0.50.00.24.0->0.50.00.24.0->0.50.00.24.0->0.50.00.24.0->0.50.0Release Notes
thomhurst/TUnit (TUnit)
v0.50.0: 0.50.0Apologies for the delay. This PR has taken a lot longer than anticipated.
It involves a lot of refactoring and rewriting of some core logic. So if I've knocked anything out, apologies, and raise an issue with a reproduceable example please!
There are a bunch of breaking changes in this release, so apologies in advance!
These include:
SourceGenerated[Type]Informationtypes have been renamed to[Type]Metadata.This change does include some new features for any advanced users.
Improved automatic object lifecycle tracking.
A new Priority attribute, to prioritise running certain tests first. This can be combined with --fail-fast to terminate test runs quicker on failures.
One is Asynchronous data sources! I'd advise to be careful with these, as they could dramatically slow down discovery. But you can now use asynchronous APIs to generate data sources for your tests.
And the one I'm excited about most, is nested property injection (with initialization). This can allow for some advanced test orchestration with relatively simple code, and TUnit will handle all the advanced bits for you like initialization and object lifetimes!
Here's some pseudo-code:
As you can see, you can inject objects into other objects created via data sources. Such as injecting in the message bus into the message bus UI class. And then all the third-party test infrastructure into our WebApplicationFactory. And TUnit manages doing this just before your test starts, initialising anything in order, and disposing of objects when they're finished with.
As you can see, this makes orchestration a lot simpler. This means less time fiddling about with set ups, and more time for writing tests!
Enjoy!
What's Changed
🏕 Changes
👒 Dependencies
New Contributors
Full Changelog: v0.25.21...v0.50.0
v0.25.21: 0.25.21What's Changed
🏕 Changes
👒 Dependencies
Full Changelog: v0.25.6...v0.25.21
v0.25.6: 0.25.6What's Changed
🏕 Changes
👒 Dependencies
Full Changelog: v0.25.0...v0.25.6
v0.25.0: 0.25.0What's Changed
Breaking Changes 🛠
🏕 Changes
TUnit.Core/Attributesby @samtrion in https://github.com/thomhurst/TUnit/pull/2509TUnit.Core/Interfacesby @samtrion in https://github.com/thomhurst/TUnit/pull/2510ExcludeOnAttributeandRunOnAttributeby @samtrion in https://github.com/thomhurst/TUnit/pull/2512👒 Dependencies
Full Changelog: v0.24.0...v0.25.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Renovate Bot.