Giter Site home page Giter Site logo

Comments (3)

jouvin avatar jouvin commented on July 17, 2024

I don't know if this should be considered an issue or a feature. I came through this problem with a component using CAF::Service without mocking it in the unit tests (something done in most components using it...). CAF::Service seems to pass an undef string when stdout and stderr are empty (I haven't checked but I guess this is due to some CAF::Process mocking): look at the traceback in quattor/CAF#134. Should we add the complexity in this context of converting all the undef arguments to an empty string or is it better to have the reporter doing the thing... Personnally I tend to think the proposed behaviour is the right one: having the reporter failing a test because an argument is undef can be very confusing and difficult to troubleshoot...

from maven-tools.

stdweird avatar stdweird commented on July 17, 2024

then we should improve the mocking. the workaround (esp in the non-mocked reporter) can be accepted to prevent failures, but they indicate a bug, esp in the non-mocked reporter (unless you know a valid usecase where an undef is passed to the reporter).

from maven-tools.

jouvin avatar jouvin commented on July 17, 2024

Is there a mocked reporter? I thought there was none...

from maven-tools.

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.