Code Monkey home page Code Monkey logo

Comments (5)

616slayer616 avatar 616slayer616 commented on May 28, 2024 2

I wanted to do something like that and I came quite far with it but then I read this:
#28 (comment).

That would probably be a problem.

I got it to work when I set List<Boolean> historyExceptionAppear in RepeatIfExceptionsExtension to Collections.synchronizedList(new ArrayList<>()). But that used to be in the code and was removed in this commit:
9416adc
To fix #11

from rerunner-jupiter.

616slayer616 avatar 616slayer616 commented on May 28, 2024 1

You are rigtht I forgot to remove the method level annotations.

This is not going to work this way.

The RepeatedIfExceptionsTest is supposed to replace the Test annotation #28 (comment)

We would have to introduce a new annotation to achieve this (https://github.com/artsok/rerunner-jupiter/pull/44#issuecomment-507774583)

from rerunner-jupiter.

artsok avatar artsok commented on May 28, 2024

Hi @616slayer616

It is greate, that you want to do it! I have'nt free time to invistigate it :(

I inited this value at line 87.

изображение

Is it matter for you to init it as class value, as you want?

Can you show work example of this feature?

from rerunner-jupiter.

616slayer616 avatar 616slayer616 commented on May 28, 2024

Maybe you can try this.
It seems to work but I'm not sure , maybe it only works on my machine
https://github.com/616slayer616/rerunner-jupiter/tree/annotaion_on_class

from rerunner-jupiter.

sethcall avatar sethcall commented on May 28, 2024

@616slayer616 There seems to be good work in this PR; perhaps though the new test you added should have the @RepeatedIfExceptionsTest removed from the methods to verify with certainty that only the class-level annotation is working.

from rerunner-jupiter.

Related Issues (20)

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.