Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Proposal: Testing Guide #3862
We propose a guide that will teach people how to test CanJS applications.
This guide will try to explain how to test each piece of your application, including:
This guide will go over the basics of testing ViewModels, but also explain more complex topics like how/when to create asynchronous tests.
This will explain how to tests components with and without using the DOM. It will also include Make it easier to test Components.
Testing routing can be difficult to do without accidentally changing the real URL. This piece of the guide will focus on using
This will focus on setting up fixtures and generating test data. Testing set algebras will be added if/once canjs/can-query-logic#1 is complete.
The guide will also introduce functional testing and try to explain when it is a good idea to create functional tests.
referenced this issue
Mar 9, 2018
More Detailed Outline: