I am encountering an issue while running my provider tests in a Gradle Kotlin Spring Boot project.
I have a contract with 10 test cases, and my provider tests are split across two files—one file covers 2 states, while the other handles 8 states. However, when I run my provider tests, the contract checks for all 10 states in each file instead of only the relevant ones. As a result, I get 10 passing tests but also 10 failing tests because each file is validating all the states, leading to incorrect failures.
things i have already tried:
1. moving SpringBootTest to base call
2.
https://stackoverflow.com/a/79264442
please help ASAP
Slack Conversation