-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Example tests:
describe("POST /session", function () {
it("rejects invalid credentials")
describe("local auth provider", function() {
it("returns a new auth token")
});
});
I am currently using the HTML reporter. When I generate samples, I see the following:
Notice now that the "it" label "rejects invalid credentials" is there as the sample description and it looks good.
The problem comes in when you begin nesting describe blocks semantically ought to be a part of the sample description.
Hence my expectation here is that rather than see "returns a new auth token" I should see "local auth provider returns a new auth token"
Just to give a little more context, my next test describes "github auth provider" with similar assertions, so things get confusing. Is there a simple way to bring in that additional "describe" context as part of the sample description?
Metadata
Metadata
Assignees
Labels
No labels
