Arrange

Also known as the context of a unit test, Arrange includes anything that exists as a prerequisite of the test. This includes everything from parameter values, stored in variables to improve readability, all the way to configuring values in a mock database to be injected into your application when the test is run.

For more information on Mocking, see Chapter 7Setting Up the JavaScript Environment, the Abstract Third Party Software and Test Double Types sections.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.149.255.145