Comments (4)
After some digging, I found that adding dependency on mock-agent-jvm
artifact fixes the problem.
But mockk
already has a runtime dependency on it: https://mvnrepository.com/artifact/io.mockk/mockk/1.11.0
from spek.
@ntoskrnl Can you attach a sample project here that reproduces the issue? Would help out in debugging.
from spek.
Here is a sample project: https://github.com/ntoskrnl/spek2-with-mockk-sample
Let me know what I can do to help with the debugging.
For the issue with mockk there is a workaround, but there is also an issue with Spek replacing RunConfiguration for all other tests in the project. It is reported here: #837
Maybe it has something to do with how SpekRunConfigurationProducer
is implemented - it looks like it doesn't actually check if there are other types of tests under the provided path.
from spek.
Maybe it has something to do with how SpekRunConfigurationProducer is implemented - it looks like it doesn't actually check if there are other types of tests under the provided path.
Nah, this is something in IJ - IJ will query each plugin for an "action" that can be run in a particular context. It's not the responsibility of Spek's plugin to check for other test types.
from spek.
Related Issues (20)
- use IR for JS
- Spek plugin 2.0.19 crashes on AS Flamingo and Java 1.8 HOT 1
- The plugin is not compatible with the current version
- Before and After scenario not in proper order HOT 1
- Kotlin 1.5.0 - TestSuiteExecutionException testing function with "when" and enum HOT 8
- Port #965 to 2.x branch
- Test fails in Spek Android Studio plugin but works in Gradle due to different classpath HOT 3
- JCenter migration issue, spek-runtime is missing HOT 1
- Spek Framework Plugin incompatible with IntelliJ IDEA 2021.2 HOT 2
- add automatic-module name so that it can be used as proper module
- Could not find spek-dsl-metadata 2.0.17 HOT 6
- Run test button does nothing HOT 2
- Spek should be compatible with JUnit Platform suites HOT 1
- Feature: Support running tests in random order
- Incompatible with IntelliJ IDEA 2022.1 HOT 25
- Gherkin rule dsl missing
- Multiplatform status? HOT 1
- Incompatible with 2022.2.1 HOT 13
- klib publishing fails due to missing checksum
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spek.