Giter Club home page Giter Club logo

Comments (4)

kevingranade avatar kevingranade commented on May 3, 2024

Consider integrating with libtap instead: http://jc.ngo.org.uk/trac-bin/trac.cgi/wiki/LibTap
General info: http://testanything.org/wiki/index.php/Main_Page

from cataclysm-dda.

benjamg avatar benjamg commented on May 3, 2024

Might be a little late as I see you have already done a link to libtap but I'm not sure that output like

1..4
ok 1 - Basic arithmetic works
ok 2 - Doing something as root
ok 3 - Did something else as root
ok 4 - The answer's correct

Is any good as each test has tells you it was okay, when really you only care if one fails. With small numbers of tests that isn't an issue but as you reach the hundreds of tests it will make it hard to see the signal from the noise.

It might be possible to change the output style, I don't know a whole lot about libtap in which case it looks reasonable enough.

from cataclysm-dda.

kevingranade avatar kevingranade commented on May 3, 2024

It's a modular system, that output is standardised and you run the tests
with a harness to get just a summary, but I'm not bothering to set up that
part until we have some tests.
On Feb 28, 2013 2:48 AM, "Ben Gray" [email protected] wrote:

Might be a little late as I see you have already done a link to libtap but
I'm not sure that output like

1..4
ok 1 - Basic arithmetic works
ok 2 - Doing something as root
ok 3 - Did something else as root
ok 4 - The answer's correct

Is any good as each test has tells you it was okay, when really you only
care if one fails. With small numbers of tests that isn't an issue but as
you reach the hundreds of tests it will make it hard to see the signal from
the noise.

It might be possible to change the output style, I don't know a whole lot
about libtap in which case it looks reasonable enough.


Reply to this email directly or view it on GitHubhttps://github.com/TheDarklingWolf/Cataclysm-DDA/issues/77#issuecomment-14222990
.

from cataclysm-dda.

kevingranade avatar kevingranade commented on May 3, 2024

As of a8ad03d we have a minimal unit testing framework, now just to add tests, thousands of tests...

from cataclysm-dda.

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.