runner
runner copied to clipboard
"Kumite was published with failed tests" even though all tests are succesful
Describe the bug
I had to do some changes to a kata translation. The link to the kumite is in Additional context. Previously, I used groovy's built-in assert statement which I replaced with org.junit.jupiter.api.Assertions.assertEquals. I also changed the @Test annotations from org.junit.Test to org.junit.jupiter.api.Test.
To Reproduce
(I'm not sure whether this might work, but this is what I did)
- Create a Kumite in Groovy (
org.junit.Testshould be automatically imported in the Tests Cases) - Write tests using
assert - Publish it
- Edit the Kumite
- Replace
import org.junit.Testwithimport org.junit.jupiter.api.*andimport static org.junit.jupiter.api.Assertions.assertEquals
Expected behavior
The yellow message in Screenshots to not appear
Screenshots
Browser
- OS: Windows 10 Pro 22H2 (Build 19045.4651)
- Browser: Chrome
- Version: 127.0.6533.120 (Official Build) (64-Bit) (cohort: Stable)
Additional context