bentomas / node-async-testing Goto Github PK
View Code? Open in Web Editor NEWA Node.js test runner for testing asynchronous code
License: MIT License
A Node.js test runner for testing asynchronous code
License: MIT License
for example, if the test has require('sys')
i'll write a test for this,
and I have an idea for a work around...
if an error is thrown after test.finish() is called node exits.
this is a confusing error at best.
exports['test error'] = function (test){
test.finish();
throw new Error('test should error');
}
if (module == require.main) {
require('async_testing').run(__filename, process.ARGV);
}
If a test never finisch the return value queried by $? in bash is still 0, which means sucsess. This causes some unwanted beahviour in our ci-System. Could you fix this?
I'm trying it out... great library so far. There are many features mentioned in the website (like wrap
) that are not available on npm (i did npm install async_testing@latest
, which gave me 0.3.2).
Would it be possible that you pushed these to npm?
On git there is version 0.4 but the npm has only 0.3.1 available, That was a bit irritating, because the readme is out to date, too.
Hi, I just installed using NPM but a lot of things doesn't works... I checked the code and it's a lot different from current source, I manually changed lib folder that npm had installed and all works nice now, but will be nice if package cames correctly at first.
This is rather a question than an issue:
Could you give some hints, how to analyse code coverage with async-testing tests?
if null is thrown, it's it ends the test, but does not count as an error!
you get a passing test!
in javascript you can throw ANYTHING
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.