Code Monkey home page Code Monkey logo

Comments (5)

apierzch avatar apierzch commented on June 27, 2024

Thank you for this detailed report. We will investigate it very soon.

from junitparams.

apierzch avatar apierzch commented on June 27, 2024

The issue reported by you does not seem to be present after refactoring I've done for version 2.0.
However, during investigation I have noticed that JUnitParams sometimes does not execute all tests when running methods in parallel (which you might notice by looking at "Tests run" output. I strongly advise not to use any of following parallel options with JUnitParams:

  • "classesAndMethods"
  • "methods"
  • "both"

Any other configuration should work without problems, please report if otherwise.

from junitparams.

apierzch avatar apierzch commented on June 27, 2024

I have created #35 for the problem above

from junitparams.

bartoszmajsak avatar bartoszmajsak commented on June 27, 2024

Thanks for the prompt assistance :) Another "workaround" would be to put net.jcip.annotations.NotThreadSafe annotation on the classes where JUnitParams is involved and keep the surefire settings as they are.

from junitparams.

deepakab03 avatar deepakab03 commented on June 27, 2024

Thanks @bartoszmajsak for the workaround to use @ NotThreadSafe.
@apierzch not being able to run in parallel is a significant limitation, hope there is something in the roadmap to address this. Running the builds in a non parallel mode results in the build time increasing by 4-5 times which is unacceptable in some cases. Thank you for all your work in this great library.

from junitparams.

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.