Skip to content

Conversation

@SebastienDegodez
Copy link
Member

@SebastienDegodez SebastienDegodez commented Nov 9, 2025

Pull Request

Proposed Changes

Reuse Testcontainers across tests to drastically reduce test runtime and flakiness by switching per-test lifecycle to shared fixtures / collections where appropriate.

Replace per-test container creation/destruction with IClassFixture (or test collections when multiple test classes must share resources), move fixtures close to tests (inner class where requested), and update tests to use the fixtures.

Sample: 3 tests KAFKA + Microcks, Before: 69 seconds, After: 44 seconds.

Readiness Checklist

Author/Contributor

  • If documentation is needed for this change, has that been included in this pull request
  • run dotnet test and ensure you have test coverage for the lines you are introducing
  • run dotnet husky run and fix any issues that you have introduced

Reviewer

  • Label as either feature, fix, documentation, enhancement, maintenance or breaking

#158

@SebastienDegodez SebastienDegodez force-pushed the refactor/increase-performance-testing branch from 9b89731 to 8020377 Compare November 9, 2025 23:06
@SebastienDegodez SebastienDegodez force-pushed the refactor/increase-performance-testing branch from 8020377 to 464a7d7 Compare November 9, 2025 23:20
@lbroudoux lbroudoux added kind/enhancement Enhancement of existing feature component/build Build process and CICD labels Nov 28, 2025
@lbroudoux lbroudoux added this to the 0.3.2 milestone Nov 28, 2025
Copy link
Member

@lbroudoux lbroudoux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks all good to me! Thanks!

@lbroudoux lbroudoux merged commit 2e3f43a into microcks:main Nov 28, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/build Build process and CICD kind/enhancement Enhancement of existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants