Comments (4)
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.
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.
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 like1..4
ok 1 - Basic arithmetic works
ok 2 - Doing something as root
ok 3 - Did something else as root
ok 4 - The answer's correctIs 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.
As of a8ad03d we have a minimal unit testing framework, now just to add tests, thousands of tests...
from cataclysm-dda.
Related Issues (20)
- Error in displaying the book title in the recipes
- Shadow lieutenant. Tried to use an invalid alpha talker
- Shadow lieutenant. Interrupt query called in json without proper interrupt type
- Shadow lieutenant. The game freezes, no crashing
- Sky Island: Warp sickness does not wake you up HOT 1
- Half Worms Multiply Upon Their Death HOT 1
- Items which previously used charges are not grouped together inside a container
- our windows version add custom quick tool shortcuts
- t_carpet_wood_red can be constructed from t_floor_noroof
- Android ImGui cannot be navigated HOT 1
- ASCIITiles Map `<` and `>` characters inverted HOT 1
- Add coconut oil
- Mound of dirt. Some creatures are immune to fire HOT 1
- Leaping monsters won't leap up Z-Levels HOT 3
- that the items can be separated HOT 1
- Labs should have bombed variants HOT 4
- storing books with smartphones will let you store multiply copies of the same book HOT 1
- add a main menu option to display file path as well as build options
- Wrong stamina cost of RAS weapon
- Duplicate Proficiencies >100% HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cataclysm-dda.