I wrongly receive "Empty test suite" running tests from Intellij since v24
See original GitHub issue🐛 Bug Report
I’m not able to run the tests from Javascript tests using Intellij Idea interface.
To Reproduce
- Run tests
Expected behavior
I expect to be able to run them from Intellij idea interface
Link to repl or repo (highly encouraged)
https://github.com/nerder/jest24-intellij-issue-repro/
System:
OS: macOS 10.14.3
CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
Binaries:
Node: 11.6.0 - /usr/local/bin/node
Yarn: 1.13.0 - ~/.yarn/bin/yarn
npm: 6.5.0 - /usr/local/bin/npm
npmPackages:
jest: ^24.1.0 => 24.1.0
Notes
I’m not 100% sure this should be posted here, since can strongly related to the code of the reporter implemented by Intellj, but since was an hidden breaking change, i feel like is good to post it here as well.
Issue Analytics
- State:
- Created 5 years ago
- Comments:8
Top Results From Across the Web
Ultimate 2018.1 Running single unit test method results in ...
Hello,. I'm trying to run a single unit test method inside of my multi-module Gradle project. I right-click on the method, select "Run....
Read more >Class Not Found: Empty Test Suite in IntelliJ - Stack Overflow
Go to Run --> Edit Configurations and in section JUnit remove test configurations. Apply changes. After then try to run your tests. New ......
Read more >IntelliJ IDEA. Writing Tests with Spock - YouTube
In this screencast we're going to use the Spock framework for creating and running unit tests.00:00 - Intro00:10 - Creating a Project for ......
Read more >How to avoid "No tests were found" when using JUnit 5 with ...
Oct 24, 2018 ... Let's see what happens when we try to run this test: ... When we try to execute this test...
Read more >Collecting Unit Test Coverage in IntelliJ IDEA - Parasoft Jtest ...
Jtest can collect coverage information for JUnit tests when a run ... for all tests listed in a test suite, you may need...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m currently on:
Anyway yes, seems to be exactly that same thing.
Workaround
Adding
_JB_INTELLIJ_JASMINE_REPORTER_DISABLED=true
as anenv
variable in when running tests works as expected.@SimenB do you think the issue can be closed here then?
If you follow the linked issues, you can see this is fixed in 2018.3 and newer - it won’t be backported