Giter Site home page Giter Site logo

Support TestDox about paraunit HOT 3 CLOSED

facile-it avatar facile-it commented on May 30, 2024
Support TestDox

from paraunit.

Comments (3)

Jean85 avatar Jean85 commented on May 30, 2024

Could be a nice to have! I'll have to take a look to PHPUnit classes to decide about it, I need to see how much of them I can reuse to do that.

from paraunit.

ranpafin avatar ranpafin commented on May 30, 2024

Just a few ideas here:

Testdox usually output something like:

Foo

  • output foo when the input is baz
  • throws an exception when the input is empty
  • [...]

I think the best way to go here is to create a parser (and a printer) much like the one for the 'standard output'.
This new parser could be load using the new dynamic event structure and will replace the classic one. The behavior would be pretty straightforward just execute all the phpunit processes with the testdox argument ,read the output merge it in the final result.
Usually what you may want to do with testdox is output a text-file with all the method inside, luckily we already accumulate all the output so creating such file should be trivial.
While one parser would be enought there should be 2 printer a 'console' printer and a 'text-file' printer.

from paraunit.

Jean85 avatar Jean85 commented on May 30, 2024

This seems to have no interest. Since the, we moved to the JSON log format for parsing, and we got performance improvements from that.

Going back to output parsing seems a step backward for me.

from paraunit.

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.