Enterprise Web Development by Yakov Fain Victor Rasputnis Anatole Tartakovsky & Viktor Gamov
Author:Yakov Fain, Victor Rasputnis, Anatole Tartakovsky & Viktor Gamov
Language: eng
Format: epub
ISBN: 9781449356811
Publisher: O’Reilly Media, Inc.
Published: 2014-10-26T16:00:00+00:00
Figure 7-14. Setting up a keyboard shortcut for Grunt launcher
By pressing a combination of keys specified in the previous screen, you will be able to launch Grunt for Jasmine tests with one click of a button(s). WebStorm will redirect all the output from the Grunt tool into its Run window, as shown in Figure 7-15.
Figure 7-15. Grunt output in WebStorm
Summary
Testing is one of the most important processes of software development. Well-organized testing helps keep the code in a good working state. It’s especially important in interpreted languages such as JavaScript, which has no compiler to provide a helping hand to find lots of errors in very early stages.
In this situation, static code analysis tools, such as JSHint (discussed in Chapter 5) could help identify typos and enforce best practices accepted by the JavaScript community.
In enterprise projects developed with compiled languages, people often debate whether TDD is really beneficial. With JavaScript, it’s nondebatable unless you have unlimited time and budget and are ready to live with unmaintainable JavaScript.
The enterprises that have adopted test-driven development (as well as behavior-driven development) routines make the application development process safer by including test scripts in the continuous integration build process.
Automating unit tests reduces the number of bugs and decreases the amount of time developers need to spend manually testing their code. If automatically launched test scripts (unit, integration, functional, and load testing) don’t reveal any issues, you can rest assured that the latest code changes did not break the application logic, and that the application performs according to SLA.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
ActiveX | ASP.NET |
Cold Fusion | CSS |
DHTML | Java Server Pages |
JavaScript | PHP |
Python | Ruby |
XSL |
Hello! Python by Anthony Briggs(9928)
The Mikado Method by Ola Ellnestam Daniel Brolund(9790)
Dependency Injection in .NET by Mark Seemann(9348)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7792)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7569)
Svelte with Test-Driven Development by Daniel Irvine(7283)
Test-Driven Development with PHP 8 by Rainier Sarabia(7023)
Layered Design for Ruby on Rails Applications by Dementyev Vladimir;(6877)
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(6541)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6427)
Web Development with Django by Ben Shaw Saurabh Badhwar(6340)
React Application Architecture for Production by Alan Alickovic(6064)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(5816)
Kotlin in Action by Dmitry Jemerov(5076)
Audition by Ryu Murakami(4594)
Software Architecture for Web Developers by Mihaela Roxana Ghidersa(4518)
Accelerating Server-Side Development with Fastify by Manuel Spigolon Maksim Sinik & Matteo Collina(4367)
Hands-On Full-Stack Web Development with GraphQL and React by Sebastian Grebe(4323)
Solidity Programming Essentials by Ritesh Modi(4071)
