3
我在想,是否有可能获得测试的完整嵌套描述路径?Jasmine Testing获取完整描述的名称/它的
考虑:
describe('Smoke Testing - Ensuring all pages are rendering correctly and free of JS errors', function() {
describe('app', function() {
describe('app.home', function() {
it('should render this page correctly', function (done) {
//name here should be: Smoke Testing - Ensuring all pages are rendering correctly and free of JS errors app app.home should render this page correctly
done()
})
})
describe('app.dashboard', function() {
describe('app.dashboard.foobar', function() {
it('should render this page correctly', function (done) {
//name here should be: Smoke Testing - Ensuring all pages are rendering correctly and free of JS errors app app.dashboard app.dashboard.foobar should render this page correctly
done()
})
})
})
})
})