New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kotest plugin doesn't run test when build & running with Gradle #78
Comments
I am able to reproduce consistently with the following setting. If it's configured to |
I've tried this on my projects and it works for gradle and intellij settings. |
In the module that uses kotest relies on atomic-fu compiler plugin. No kapt or other plugins. There are other unrelated modules in the project that have kapt dependencies and atomic-fu. But they all still use KotlinTest. This behavior has been flaky for the passed week. I will give the repo you linked a try asap. |
Can you try that hoplite repo? Just needs a clone and then try running some
tests.
It would be useful to narrow down whether this is a problem on your machine
or whether it's a problem with some dependency clash in that module.
I suspect that kotest might not be configuring the classpaths correctly for
gradle to pick up the compiler plugins but that's just a wild guess at this
point.
…On Fri, 3 Jul 2020 at 10:49, Simon Vergauwen ***@***.***> wrote:
In the module that uses kotest relies on atomic-fu compiler plugin. No
kapt or other plugins.
There are other unrelated modules in the project that have kapt
dependencies and atomic-fu. But they all still use KotlinTest.
This behavior has been flaky for the passed week. I will give the repo you
linked a try asap.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/kotest/kotest/issues/1542#issuecomment-653604158>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFVSGSTGJSKMGVZOHWHCHTRZX4YTANCNFSM4OPSVK5A>
.
|
@sksamuel Hey Sam, I tried the hoplite repo and it's not reproducible for me there. It's reproducible for me in Arrow Fx, when trying to run kotest tests from IntelliJ directly on any of the Kotest tests in the Arrow Fx Coroutines module. Note: Whilst it's reproducible from IntelliJ using Gradle build/runner, it still runs from CLI with Gradle. |
Great thanks for trying that.
…On Sat, 4 Jul 2020, 04:03 Simon Vergauwen, ***@***.***> wrote:
@sksamuel <https://github.com/sksamuel> Hey Sam,
I tried the hoplite repo and it's not reproducible for me there.
It's reproducible for me in Arrow Fx, when trying to run kotest tests from
IntelliJ directly on any of the Kotest tests in the Arrow Fx Coroutines
module.
Note: Whilst it's reproducible from IntelliJ using Gradle build/runner, it
still runs from CLI with Gradle.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/kotest/kotest/issues/1542#issuecomment-653741712>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFVSGSRJTNLEWQ2447QMCDRZ3V4JANCNFSM4OPSVK5A>
.
|
Is there a branch where I can find these tests. |
@sksamuel Yes, sorry for the late reply. You can find the test suite in the Arrow Fxin the Arrow Fx Coroutines Module. This is the test suite I mentioned before on Slack. I also added a bunch of If you see anything out of the ordinary or have any feedback on the Kotest usage I'd love it 🙏 |
kotest-plugin-intellij-1.1.0.zip I've re-written the plugin to use the latest code that junit itself uses from intellij 2020. Attached is a plugin build for you to try. To be honest I don't know if it will work, but I'm now just doing what intellij itself does for TestNG and JUnit tests. Note: Requires Intellij 2020.1 |
Latest plugin is out - can you try ? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Which version of Kotest are you using
Kotest:
4.1.0
, Plugin:1.0.4
IntelliJ Version:
=> Freshly installed, new imported project with first synced Gradle & full rebuild from IntelliJ.
Configuration created:
Output w/ Env var
DEBUG_KOTEST=true
:The text was updated successfully, but these errors were encountered: