Skip to content

test: add unit tests for config, converters, DI, and attributes#8

Merged
Theauxm merged 1 commit intomainfrom
test/comprehensive-test-coverage
Mar 2, 2026
Merged

test: add unit tests for config, converters, DI, and attributes#8
Theauxm merged 1 commit intomainfrom
test/comprehensive-test-coverage

Conversation

@Theauxm
Copy link
Copy Markdown
Member

@Theauxm Theauxm commented Mar 2, 2026

Summary

  • Add 22 new unit tests covering previously untested public APIs
  • TraxEffectConfigurationBuilder defaults and properties (5 tests)
  • ValueTupleConverter / DisposableConverter serialization (8 tests)
  • AddScopedTraxStep/Route, AddTransientTraxStep/Route, AddSingletonTraxStep/Route DI registration (6 tests)
  • InjectAttribute and InjectProperties property injection (4 tests)

Test plan

  • All 129 integration tests pass (dotnet test)
  • dotnet csharpier check . passes

…d attributes

Add 22 new unit tests covering:
- TraxEffectConfigurationBuilder defaults and properties (5 tests)
- ValueTupleConverter serialization and CanConvert (5 tests)
- DisposableConverter behavior (3 tests)
- AddScopedTraxStep/Route, AddTransientTraxStep/Route, AddSingletonTraxStep/Route (6 tests)
- InjectAttribute and InjectProperties (4 tests, including property injection)
@Theauxm Theauxm merged commit 0c2aefc into main Mar 2, 2026
1 check passed
@traxsharp
Copy link
Copy Markdown

traxsharp Bot commented Mar 2, 2026

This PR is included in version 1.2.0

@Theauxm Theauxm deleted the test/comprehensive-test-coverage branch March 6, 2026 19:04
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.

1 participant