Giter VIP home page Giter VIP logo

Comments (8)

anotherchrisberry avatar anotherchrisberry commented on June 12, 2024

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.

anotherchrisberry avatar anotherchrisberry commented on June 12, 2024

@Mayur0612 can you give the code in this branch a shot and see if it works? #2

from spock-retry.

dpost avatar dpost commented on June 12, 2024

@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.

anotherchrisberry avatar anotherchrisberry commented on June 12, 2024

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.

dpost avatar dpost commented on June 12, 2024

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.

 avatar commented on June 12, 2024

Thanks Chris! It builds now.

from spock-retry.

anotherchrisberry avatar anotherchrisberry commented on June 12, 2024

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.

 avatar commented on June 12, 2024

@anotherchrisberry,
I did test this in my code. Works perfect!

from spock-retry.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.