You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Add : Unit to function signature to have it generate void as return type in bytecode)
Deliverables
Please would it be possible to either:
Make JUnit tests accept @Test that return things beside void, potentially just disregarding the return type
Issue a VERY LARGE, blatant error/warning message when No tests were found that JUnit only resolves @Test methods of type void. Something like No tests returning type "void" were found. JUnit only resolves tests of type "void".
The text was updated successfully, but these errors were encountered:
Steps to reproduce
@Test
that doesn't returnvoid
Context
Following a multi-day investigation and discussion with the Redhat/Quarkus team at:
No tests were found
when trying to run JUnit tests with Scala 2 or WIP Scala 3 extension quarkusio/quarkus#18373The confusion
The resolution
: Unit
to function signature to have it generatevoid
as return type in bytecode)Deliverables
Please would it be possible to either:
@Test
that return things besidevoid
, potentially just disregarding the return typeNo tests were found
that JUnit only resolves@Test
methods of typevoid
. Something likeNo tests returning type "void" were found. JUnit only resolves tests of type "void".
The text was updated successfully, but these errors were encountered: