Commit fbc0e84
committed
Refactor test infrastructure to use centralized Koin test module
Cleanup in tests. Simplify test setup by introducing
InterlockSimTestModule that consolidates
all test dependencies. Migrate MockSimulationContext to Kotlin
delegation
pattern, eliminating redundant wrapper methods. Remove obsolete test
utility
files (TestFixtures, TestTrackBuilder) and migrate to TestContextBuilder
with Koin injection. Update 24 test files to use new standardized
approach.
Changes:
- Add InterlockSimTestModule.kt for centralized test DI configuration
- Simplify MockSimulationContext using Kotlin delegation pattern
- Refactor TestContextBuilder to use Koin factory pattern
- Update KoinTestBase to use new test module
- Remove duplicate/obsolete test utilities (577 lines removed)
- Standardize test setup across simulation and context test suites
- Delete CI/CD workflow documentation (now outdated)1 parent a1ef534 commit fbc0e84
32 files changed
Lines changed: 290 additions & 1153 deletions
File tree
- src/test/kotlin/cz/vutbr/fit/interlockSim
- context
- di
- objects
- cells
- paths
- sim
- testutil
- xml
This file was deleted.
0 commit comments