Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: thomhurst/TUnit
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 476c128
Choose a base ref
...
head repository: thomhurst/TUnit
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 70f1219
Choose a head ref
  • 3 commits
  • 21 files changed
  • 5 contributors

Commits on Aug 13, 2025

  1. Fix abstract class constructor processing in hook metadata generation (

    …#2888)
    
    * Initial plan
    
    * Fix abstract class constructor processing in hook metadata generation
    
    Co-authored-by: thomhurst <30480171+thomhurst@users.noreply.github.com>
    
    * test: Add test source for ActualTestClass in Issue 2887
    
    ---------
    
    Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
    Co-authored-by: thomhurst <30480171+thomhurst@users.noreply.github.com>
    Copilot and thomhurst authored Aug 13, 2025
    Configuration menu
    Copy the full SHA
    d506a98 View commit details
    Browse the repository at this point in the history
  2. Fix inherited test categories issue in source generation mode (#2881)

    * Initial plan
    
    * Initial investigation of inherited test categories issue
    
    Co-authored-by: thomhurst <30480171+thomhurst@users.noreply.github.com>
    
    * Fix inherited test categories issue in source generation
    
    Co-authored-by: thomhurst <30480171+thomhurst@users.noreply.github.com>
    
    * Complete fix for inherited test categories with additional test validation
    
    Co-authored-by: thomhurst <30480171+thomhurst@users.noreply.github.com>
    
    * Update InheritedCategoryTestValidation to use proper assertions
    
    Co-authored-by: thomhurst <30480171+thomhurst@users.noreply.github.com>
    
    * Update TUnit.Core.SourceGenerator.Tests/InheritedTestsFromDifferentProjectTests.cs
    
    Co-authored-by: Stuart Lang <stuart.b.lang@gmail.com>
    
    * Update verified test output for inherited test categories
    
    The test was failing because the expected output needed to be updated after the fix for inherited test categories was implemented. The generated code now correctly includes category attributes from base classes in different projects.
    
    * fix: Update test categories in base and inherited tests for improved validation
    
    * fix: Skip framework-specific attributes for older frameworks and update test categories
    
    * Fix AsyncHookTests and SyncHookTests for .NET Framework
    
    Add #if !NET guards to skip AsyncLocal assertions on .NET Framework where ExecutionContext.Restore is not supported. This prevents test failures during BeforeTestSession hooks.
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    
    ---------
    
    Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
    Co-authored-by: thomhurst <30480171+thomhurst@users.noreply.github.com>
    Co-authored-by: Stuart Lang <stuart.b.lang@gmail.com>
    Co-authored-by: Claude <noreply@anthropic.com>
    4 people authored Aug 13, 2025
    Configuration menu
    Copy the full SHA
    5f73970 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    70f1219 View commit details
    Browse the repository at this point in the history
Loading