Replies: 2 comments
-
By my understanding, the command-line version of JUnit 5 has its own By comparison, I believe tools like Gradle, Maven, Eclipse and IntelliJ (that is, tools written in JVM programming languages) start JUnit 5 through the JUnit Platform Launcher API. I'm guessing that tools written in or configured with non-JVM programming languages run the command-line version of JUnit 5 as an external JVM process. |
Beta Was this translation helpful? Give feedback.
-
Here's an example how to compile classes (main and test) and run JUnit with only using tools shipping with the JDK and standalone distribution of JUnit. |
Beta Was this translation helpful? Give feedback.
-
java programs have an entry method that executes logic for main() as main()-> execution logic. I wonder how junit becomes junit-> execution logic by replacing main(). Does it encapsulate a main()? Or it is not implemented by a java program, but by a development tool similar to eclipse
Beta Was this translation helpful? Give feedback.
All reactions