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
I noticed that if I have a small bug in the code, some tests do not run at all and there is no warning or error that the spec did not run. This can lead to an unnoticed failure, which shoudl be fixed.
This is a feature request, to add a "number of tests" verification at the end. Every time a test spec is added, it would be nice to have a separate test spec that checks the number of tests run/passed.
describe("Number of Passing Tests for my_page_spec", function(){
it("should have 20 passing tests", function() {
number_of_passing_tests = (SOME FUNCTION)
expect(number_of_passing_tests ).toEqual(20);
});
});
describe("Number of Passing Tests for Entire Test Suite", function(){
it("should have 1000 passing tests", function() {
number_of_passing_tests = (SOME FUNCTION)
expect(number_of_passing_tests ).toEqual(1000);
});
});
Is there a way to do this or add this?
The text was updated successfully, but these errors were encountered:
I noticed that if I have a small bug in the code, some tests do not run at all and there is no warning or error that the spec did not run. This can lead to an unnoticed failure, which shoudl be fixed.
This is a feature request, to add a "number of tests" verification at the end. Every time a test spec is added, it would be nice to have a separate test spec that checks the number of tests run/passed.
Is there a way to do this or add this?
The text was updated successfully, but these errors were encountered: