Git Product home page Git Product logo

Comments (4)

traversaro avatar traversaro commented on August 14, 2024

I guess this can be accomplished by properly extending the TestResultCollector object, but @apaikan can provide more information for sure.

from robot-testing-framework.

apaikan avatar apaikan commented on August 14, 2024

@randaz81 RTF by default does not use YARP. In general, to report the tests result at run-time, a user-defined class can be implemented which is inherited from RTF::TestListener (http://robotology.github.io/robot-testing/documentation/classRTF_1_1TestListener.html).

Alternatively results can be outputted (after finishing test's run) in user-defined format by extracting the results from RTF::TestResultCollector as @traversaro suggested (see RTF::TextOutputter). However we should think if they are needed to become separate plugins from the testrunner or making RTF to be optionally compiled with YARP.

from robot-testing-framework.

traversaro avatar traversaro commented on August 14, 2024

Just for the sake of brainstorming: while including some (optional) stuff depending on YARP in RTF could make sense, for example it will for sure simplify deployment outside of superbuilds.

However, perhaps for some user/framework specific customizations, such as extending RTF::TestListner for using framework specific logging functions it could make sense to let the user add specific Callbacks to the RTF::TestListner. This callbacks can be configured for example by the YarpTestCase object. This would permit the user to customize some behavior (as in rFSM we do with "hooks") without having an additional plugin type.

from robot-testing-framework.

apaikan avatar apaikan commented on August 14, 2024

RTF has a web reporter (See http://robotology.github.io/robot-testing/documentation/testrunner.html#weblistener) to remotely monitor the result of the tests via a web browser.
So I close the issue and If we still need an integration with YARP logger, we can open a new "enhancement" issue!

from robot-testing-framework.

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.