December 2019
Beginner to intermediate
770 pages
16h 14m
English
We can easily illustrate the usage of the asserterror keyword with the scenario discussed previously:
This tests the same feature that was defined by the requirement to classify customers. However, even though the blocked pattern that was applied to the Customer Category was not mentioned in the requirements, it has been implemented in the extension, throwing an error when assigning a blocked customer category to a customer, and therefore it needs to be tested.
Read now
Unlock full access