Fork me on GitHub

Each failed assertion will have helpful info

Write each assertion using lazy-ass and lazy-ass-helpful puts the expression into the message automatically.


  
  
  
  
  // include lazy-ass-helpful-bdd AFTER testing framework, for example after mocha
  
  

  helpDescribe('a few tests using lazy-ass', function () {
    it('puts expression into message', function () {
      lazyAss('foo' + 2 + 4 === 'foo24');
    });
  });
  

Click on each test to expand to see the automatic messages