JavaScript Fiddle
This chapter has presented the basics of testing in JavaScript, but it only scratches the surface. In particular, if youâre using Rails to serve data to one of the JavaScript frameworks, youâll need familiarity with the testing tools designed for that framework.
As for our Rails journey, this chapter is the last one that covers testing specific facets of a Rails application. Now weâll spend a few chapters on topics that will help all of your Rails tests, starting with troubleshooting and debugging.
Get Rails 4 Test Prescriptions now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.