JavaScript Unit Testing
This course has been retired. Check out the alternatives below
-
What do you get with a Packt Subscription?
- Instant access to this title and 7,500+ eBooks & Videos
- Constantly updated with 100+ new titles each month
- Breadth and depth in over 1,000+ technologies
-
Unit Testing JavaScript Applications
- Unit Testing JavaScript Applications
- What unit testing is
- Why we need unit testing
- What Test-Driven Development (TDD) is
- Complexities in testing JavaScript applications
- Weather forecasting application
- Summary
-
Jasmine
- Jasmine
- Configuration
- Writing your first Jasmine test
- The nested describe blocks
- Jasmine matchers
- Testing asynchronous (Ajax) JavaScript code
- HTML fixtures
- Testing the weather application
- Summary
-
YUI Test
- YUI Test
- Writing your first YUI test
- Assertions
- Testing asynchronous (Ajax) JavaScript code
- Testing the weather application
- Automation and integration with build management tools
- Summary
-
QUnit
- QUnit
- Configuration
- Writing your first QUnit test
- Assertions
- Testing asynchronous (Ajax) JavaScript code
- Testing the weather application
- Summary
-
JsTestDriver
- JsTestDriver
- Architecture
- Configuration
- Writing your first JSTD test
- Assertions
- Testing asynchronous (Ajax) JavaScript code
- Testing the weather application
- Integration with other JavaScript test frameworks
- Integration with build management tools
- Integration with the IDEs
- Summary