My problem was that my test class wasn’t public. I needed:
public class MyTest {
@Test
public void testMethod() {
instead of:
class MyTest {
@Test
void testMethod() {
Related Contents:
- IntelliJ does not show project folders
- How to define Gradle’s home in IDEA?
- How to disable code formatting for some part of the code using comments?
- How to increase code font size in IntelliJ?
- How to stop IntelliJ truncating output when I run a build?
- What is “Power Save Mode” in IntelliJ IDEA and other Jetbrains IDEs?
- Intellij IDEA generate for-each/for keyboard shortcut
- Code Wrap IntelliJ?
- “Wrap with try…catch” in IntelliJ?
- How to automatically navigate to current class in IntelliJ IDEA Project Tool Window?
- IntelliJ how to zoom in / out
- Intellij Debugger slow: Method breakpoints may dramatically slow down debugging
- How can I tell IntelliJ’s “Find in Files” to ignore generated files?
- IntelliJ Split Window Navigation
- How to jump from Intellij terminal to editor with shortcut
- Can’t find Git local changes in Intellij Idea 2020.1
- How to increase fonts in all UI elements in IntelliJ IDEA?
- Intellij IDEA with ideavim. Cannot copy text from another source
- IntelliJ 15, SpringBoot devtools livereload not working
- Intellij IDEA 13: how do I disable refactor comments and strings?
- How to configure custom PYTHONPATH with VM and PyCharm?
- Save actions in IntelliJ IDEA
- Turn off Intellij auto adding to VCS/Git
- First Flutter App error: cannot resolve symbol “Properties”
- How to change the active tab header’s color in IntelliJ 14.1.4?
- How do you change background color in the settings of JetBrain’s IDE?
- View lombok generated code in IntelliJ IDEA
- How do I tell IntelliJ IdeaVim to re-source the .ideavimrc
- Reset IntelliJ UI to Default
- IntelliJ: Move to next typo
- How to set editor theme in IntelliJ Idea
- Is there a way to sync settings across JetBrains IDEs?
- No tasks available when executing JUnit runner class
- No Gradle Tool Window in IntelliJ IDEA 13?
- Setting up and using environment variables in IntelliJ Idea
- Intellij doesn’t show .git directory
- How to view JDK external documentation in IntelliJ IDEA?
- How to paste code without reformating in IDEA
- How To Insert Incrementing Numbers with words by Multicursor in jetbrains IDE(IntelliJ IDEA)?
- How to force IntelliJ IDEA to show welcome screen again?
- Choose between open declaration/implementation on Ctrl + click in IntelliJ IDEA
- IntelliJ IDEA code format from checkstyle configuration
- Scrolling past the end in IDEA
- IntelliJ IDEA find matching parenthesis / bracket
- How to download dependency sources for Gradle project in IDEA?
- Can you change IntelliJ colors on per project basis?
- Is it possible to change the console font size in IntelliJ IDEA
- Intellij comment shortcut opens help tab on the Mac menu bar
- java.lang.NoClassDefFoundError: org/apache/tools/ant/util/ReaderInputStream vaadin+gradle+intelliJ
- Revert IntelliJ IDEA font to pre-2020.1 default font