Comments (8)
Hi, sorry for the late reply. I've been on vacation - hopefully I can get to this tomorrow. It should be pretty quick to fix.
from spock-retry.
@Mayur0612 can you give the code in this branch a shot and see if it works? #2
from spock-retry.
@anotherchrisberry I'm still seeing the same error using 0.2-SNAPSHOT:
groovy.lang.MissingPropertyException: No such property: cleanupMethods for class: org.spockframework.runtime.model.SpecInfo
Possible solutions: cleanupMethod
at com.anotherchrisberry.spock.extensions.retry.RetryInterceptor.intercept(RetryInterceptor.groovy:26)
at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:84)
at org.spockframework.runtime.extension.builtin.AbstractRuleInterceptor$1.evaluate(AbstractRuleInterceptor.java:37)
at org.junit.rules.TestWatchman$1.evaluate(TestWatchman.java:48)
at org.spockframework.runtime.extension.builtin.MethodRuleInterceptor.intercept(MethodRuleInterceptor.java:40)
at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:84)
at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:138)
at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:138)
at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:138)
at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
from spock-retry.
Huh, I had no idea anybody actually used this thing!
@dpost Are you using Spock 0.7 or 1.0? It looks like the RetryInterceptor
class changed; the 0.1-SNAPSHOT should still work with Spock 0.7, while the 0.2-SNAPSHOT version is targeting Spock 1.0.
from spock-retry.
Oops, my bad, I thought I had switched my dependencies to 1.0 but I must
have reverted them! It looks like your extension works now. Thank you
On Tue, Apr 14, 2015 at 10:46 AM Chris Berry [email protected]
wrote:
Huh, I had no idea anybody actually used this thing!
@dpost https://github.com/dpost Are you using Spock 0.7 or 1.0? It
looks like the RetryInterceptor class changed; the 0.1-SNAPSHOT should
still work with Spock 0.7, while the 0.2-SNAPSHOT version is targeting
Spock 1.0.—
Reply to this email directly or view it on GitHub
#1 (comment)
.
from spock-retry.
Thanks Chris! It builds now.
from spock-retry.
Good to hear. I didn't actually test this (beyond running the specs) - let me know if you have any trouble, @Mayur0612
from spock-retry.
@anotherchrisberry,
I did test this in my code. Works perfect!
from spock-retry.
Related Issues (14)
- Invoke custom logic on failure HOT 2
- Wait time between retries HOT 1
- Specs with @Stepwise fail as retry all tests in spec, only executes failed tests HOT 6
- Exception thrown in setup mark test as success even if it failed HOT 1
- AssumptionViolatedException should not cause a retry
- java.lang.NoClassDefFoundError HOT 1
- java.lang.NoClassDefFoundError: com/anotherchrisberry/spock/extensions/retry/RetryInterceptor$_intercept_closure1 HOT 1
- Makes @PendingFeature not work HOT 6
- update Spock version
- Tests are not rerun if failure because of WaitTimeoutException HOT 8
- Latest release (0.6.5) needs to be deployed to jcenter/bintray HOT 1
- spock-retry is affected by CVE-2020-17521 because of old groovy dependency
- Project is not on JCenter HOT 3
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 spock-retry.