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
Its possible to make multiple calls to test.expect within a test, the most recent call is the number that will be used to check the number of assertions at the end of the test.
Unfortunately there is no way to just increase the expected number of assertions, only to set it to a new number. This requires you to keep track of the number of expected assertions yourself.
Activity
caolan commentedon Apr 26, 2010
Its possible to make multiple calls to test.expect within a test, the most recent call is the number that will be used to check the number of assertions at the end of the test.
Unfortunately there is no way to just increase the expected number of assertions, only to set it to a new number. This requires you to keep track of the number of expected assertions yourself.
Does this help?