You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With Mocha, you can choose to skip tests, or only run particular tests using .skip() and .only(). I'm not sure how often the latter might occur in users tests... however the former (skip) is likely to be used for any number of reasons.
describe("Test Swagger examples for XYZ",()=>{context("/uri",()=>{it.only("Returns 200, when sending a valid request",async()=>{// Test Code});// Skipping due to BUG-123it.skip("Returns 400, when sending invalid data",async()=>{// Test Code});it("Returns 401, when missing required auth headers",async()=>{// Test Code});it("Returns 403, when sending invalid auth headers",async()=>{// Test Code});});}
The text was updated successfully, but these errors were encountered:
With Mocha, you can choose to skip tests, or only run particular tests using
.skip()
and.only()
. I'm not sure how often the latter might occur in users tests... however the former (skip
) is likely to be used for any number of reasons.The text was updated successfully, but these errors were encountered: