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()
})
})
})
})
})