I'm interested in how to do unit test of SPA. I have some experiences of using Dojo's DOH test framework. The biggest challenge is how to write our widgets to be testable. How do you add unit test for your SPA?
Are you sure you are talking about a unit test ?
if so ,you would unit test your classes the same way you would with any application.
Your business classes still have the same functionality regardless of the application flow.
Could you hold this kitten for a sec? I need to adjust this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss