If a jasmine test fails, the header for the failed test will display all subheaders of the describe
and it
methods. For example, given this code:
describe('foo', function(){
describe('baa', function(){
it('qux', function(){
expect(true).toBe(false);
});
});
});
The header line would be:
foo baa qux
In order to improve readability, I want to add a separator after each describe
title. By changing the code to:
describe('foo / ', function(){
describe('baa / ', function(){
it('qux', function(){
expect(true).toBe(false);
});
});
});
The header line is now:
foo / baa / qux
I am looking for a way to automate this process and have the separator added automatically after each describe
title in Jasmine or using the Jasmine-HTML reporter.