Chapter 9. Conclusion

The increasing demand for more complex JavaScript projects has created a rich and thriving ecosystem of tools and standards. Despite this book's focus on Jasmine, I hope to have showed you that it is possible to get amazing productivity and code quality, while developing JavaScript applications.

We have seen how amazingly simple Jasmine is, and how we can start very quickly from a simple application, based around a single HTML, to a project with automated build and headless unit testing. All with very little effort.

And although BDD does offer a good guideline on how to write the specs, we were also faced with complex decisions on how to write tests that involves integration. Should you stub or use real components when testing a code? We have seen how sometimes the decision can be blurred, and choosing each approach can be based on the level of confidence you have on the other component's tests, or how simpler a spec can become. There isn't a single simple answer here.

But this is just the beginning. The JavaScript ecosystem is evolving at a rapid pace, and new frameworks get released every day. So keep up with your studying, and happy coding!

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.12.186