question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Running tests on custom source sets seems to be broken in 3.1.0

See original GitHub issue

In ORT we’ve created a custom funTest source set with a custom funTest task to run functional tests. Running these with ./gradlew funTest works fine in master with kotlintest 2.0.7. However, in my PR which ports to kotlintest 3.1.0 we see that those functional tests are not being executed at all, but only the unit tests are. Compare also the total number of tests of 128 which should be 200.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
sschuberthcommented, May 14, 2018

[…] which of the answers was the correct one.

Mine, that I just added 😉 But basically I was just refining this answer.

1reaction
sksamuelcommented, May 14, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

Unit test configuration broke in Android Studio 3.1
Doing a test on the root project like gradle test will run fine. I can also deploy the app on my Android phone....
Read more >
Changes in 3.1.0 break custom karma-jasmine-html-reporter ...
It seems like the order in which specFilter is configured has been changed. In 3.0.3, the specFilter from karma-jasmine is set before my...
Read more >
Gradle Source Sets - Baeldung
The test source set contains the outputs of main in its compile classpath and also includes its dependencies. Next, let's create our unit...
Read more >
Test resources not found from unit test - Issue Tracker - Google
I'm trying the brand new unit testing support in Android Studio. ... I updated sourceSets: they is now using resources.
Read more >
Problems with .NET unit testing - Rider Support | JetBrains
JetBrains Rider automatically detects unit tests and provides a unit test runner to run and debug them. We are continuously improving...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found