Git Product home page Git Product logo

testing's Introduction

Alex Fernández

A software engineer with 20+ years of experience in most branches of software development. I have worked as CTO, project manager, backend senior engineer, SRE and more. I have also taught several courses and bootcamps. I am currently working as a freelancer doing backend development and scalability work.

Featured Projects

My most successful project is loadtest, which is a Node.js package used worldwide for, you guessed it, load testing.

Interests

I like working in scalable, demanding environments.

Curriculum Vitae

Please visit my updated CV.

testing's People

Contributors

alexfernandez avatar amilajack avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

amilajack

testing's Issues

Strange behavoir when assertion description is empty

Take a look at the following code:

var testing = require('testing');

function runTests (callback) {
    testing.assert(false, 'FAIL', callback);
    setTimeout(function () {
        testing.assert(true, 'correcto', callback);
        testing.success(callback);
    }, 100);
}

testing.run({
    runTests: runTests
}, testing.show);

It fails, as expected, showing a failure with FAIL description:

[Wed Dec 11 2013 18:00:50 GMT+0100 (CET)] NOTICE All tests run with ✕ failure: 
{
    ✕ runTests: FAIL,
}

But now, if we remove FAIL description and leave that line as testing.assert(false, '', callback);, then the output is wrong, and make you think that every test is passed when, obviously, it is not the case:

[Wed Dec 11 2013 18:03:12 GMT+0100 (CET)] NOTICE All tests run with ✓ success: 
{
    ✓ runTests,
}

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.