Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.02 KB

tests.md

File metadata and controls

40 lines (26 loc) · 1.02 KB

#Tests

###Unit tests

  • Ava - Futuristic test runner - npm install --global ava

    import test from 'ava';
    
    test(t => {
        t.deepEqual([1, 2], [1, 2]);
    });
    

  • Tape - tap-producing test harness for node and browsers

    var test = require('tape');
    
    test('timing test', function (t) {
        t.plan(2);
    
        t.equal(typeof Date.now, 'function');
        var start = Date.now();
    
        setTimeout(function () {
            t.equal(Date.now() - start, 100);
        }, 100);
    });
  • Test'em - npm install testem -g

  • Unit Testing ui-router Configuration

###Tests services

  • Testling - run your browser tests on every push