Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Kumite was published with failed tests" even though all tests are succesful #317

Open
FranzMartyn opened this issue Aug 20, 2024 · 0 comments

Comments

@FranzMartyn
Copy link

FranzMartyn commented Aug 20, 2024

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)

  1. Create a Kumite in Groovy (org.junit.Test should be automatically imported in the Tests Cases)
  2. Write tests using assert
  3. Publish it
  4. Edit the Kumite
  5. Replace import org.junit.Test with import org.junit.jupiter.api.* and import static org.junit.jupiter.api.Assertions.assertEquals

Expected behavior

The yellow message in Screenshots to not appear

Screenshots

image

Browser

  • OS: Windows 10 Pro 22H2 (Build 19045.4651)
  • Browser: Chrome
  • Version: 127.0.6533.120 (Official Build) (64-Bit) (cohort: Stable)

Additional context

Kumite

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

No branches or pull requests

1 participant