GithubHelp home page GithubHelp logo

Comments (6)

Grundlefleck avatar Grundlefleck commented on July 24, 2024

Thanks for raising. Definitely an bug to be fixed.

In the meantime, a functional (but nasty) workaround is to have this line of code run before your test executes, e.g. in the @Before or @BeforeClass of a JUnit test:

Class.forName("com.youdevise.fbplugins.tdd4fb.DetectorRunner$Singleton");

The reason is that FindBugs needs to set up static state to initialise a BugAccumulator (yuk). Prodding the classloader to initialise DetectorRunner$Singleton will trigger the initialisation.

This will be fixed to just work in the next release.

from test-driven-detectors4findbugs.

Grundlefleck avatar Grundlefleck commented on July 24, 2024

Oh, and thank you very much for raising the issue. Much appreciated.

from test-driven-detectors4findbugs.

Grundlefleck avatar Grundlefleck commented on July 24, 2024

Hi @paulur

This should be fixed now. Are you able to test the fix with a recent build? (removing the hack first of course)

from test-driven-detectors4findbugs.

paulur avatar paulur commented on July 24, 2024

Hey Graham,

Thanks for the update! I am traveling this week, but will try to see whether I could find sometime for reinstall the package. In any case, I'll get back to you by this Friday.

Thanks!

Paul

Sent from my iPhone

On Jul 14, 2013, at 10:07 AM, Graham Allan [email protected] wrote:

Hi @paulur

This should be fixed now. Are you able to test the fix with a recent build? (removing the hack first of course)


Reply to this email directly or view it on GitHub.

from test-driven-detectors4findbugs.

paulur avatar paulur commented on July 24, 2024

Tested. Works well. Thanks!

Paul

Sent from my iPhone

On Jul 15, 2013, at 10:13 PM, Paul [email protected] wrote:

Hey Graham,

Thanks for the update! I am traveling this week, but will try to see whether I could find sometime for reinstall the package. In any case, I'll get back to you by this Friday.

Thanks!

Paul

Sent from my iPhone

On Jul 14, 2013, at 10:07 AM, Graham Allan [email protected] wrote:

Hi @paulur

This should be fixed now. Are you able to test the fix with a recent build? (removing the hack first of course)


Reply to this email directly or view it on GitHub.

from test-driven-detectors4findbugs.

Grundlefleck avatar Grundlefleck commented on July 24, 2024

Great. I will release a new version soon.

from test-driven-detectors4findbugs.

Related Issues (17)

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.