April 2015
Intermediate to advanced
276 pages
5h 38m
English
In the previous recipe, Writing useful specs by analyzing the test requirements, we defined the Jasmine specs against test requirements. In this recipe, you will learn to write Jasmine tests and the corresponding JavaScript code for the specs designed in the previous recipe. For details, please refer to the previous recipe in this chapter.
You need to perform the following steps to write Jasmine tests corresponding to the specs:
CurrencyConverter_tests_spec.js) under the /spec folder and get the following code from the spec file (CurrencyConverter_spec.js) created in the previous recipe:describe("<ABC> Money Exchange Company: Currency Converter ...Read now
Unlock full access