Code Monkey home page Code Monkey logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
Just a thought — would making the tests emit TAP[1] help?  Then you could 
plug in to
Perl's testing tools (e.g. prove[2]).

[1] http://en.wikipedia.org/wiki/Test_Anything_Protocol

[2] http://search.cpan.org/perldoc?prove

Original comment by [email protected] on 17 Jun 2009 at 12:31

from shunit2.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
I just did something possibly related to this. In shunit2,version 2.1.6, a 
"standalone" mode was added.  With this you can call shunit2 and pass a file 
name. I extended that so you can give a *list* of test files. Totals are then 
given for the *collection* of tests, and the totals include the number of 
tests, the number of assertions, passed assertions, failed assertions and 
skipped assertions.

One can still run each test individually. In fact if you look at how I wrote 
the tests, you'll see how to write a test (in zsh, but bash and ksh can be done 
similarly) so that it can be run either way: by invoking the test name or as an 
argument to shunit in "standalone" mode. 

See https://gist.github.com/973684  The project that has all of this is zshdb 
https://github.com/rocky/zshdb/wiki

Original comment by rocky.bernstein on 15 May 2011 at 11:54

Attachments:

from shunit2.

kward avatar kward commented on July 26, 2024

I've released my test_runner (https://github.com/kward/shlib/blob/master/standalone/test_runner) code as a standalone script, which should cover this need.

from shunit2.

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.