tailieunhanh - Phát triển Javascript - part 4

Tham khảo tài liệu 'phát triển javascript - part 4', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Automated Testing A -Z. JLs web developers it is easy to find ourselves in situations where we spend unhealthy amounts of time with the refresh button in our browsers. You know the drill type some code in your text editor Alt Tab to the browser hit F5. Lather rinse repeat. This sort of manual testing is time-consuming error-prone and irrepro-ducible. Given that our web applications are expected to run on a vast combination of browsers and platforms testing them all manually will inevitably become an impossible task. So we focus on a few combinations and perform the occasional check-up on the broader selection. The end result is an unsatisfactory development process and possibly brittle solutions. Over the years lots of tools have emerged to improve our lives as web developers. We now have developer tools for all the major browsers there are several JavaScript debuggers to choose from and even IDEs to spot typos and other mistakes. Spending some time in Firefox s Firebug plugin interacting with an application sure beats those pesky alerts but we re still stuck with a manual error-prone and timeconsuming debugging process. Humans are lazy programmers even more so. When manual processes slow us down we seek to automate the manual behavior allowing us to spend our time doing something meaningful. In fact as web developers our job is more often than not to automate some tedious task in order to improve business value. Online banking is a great example instead of going to the bank standing in line and interacting Download from 3 4 Automated Testing with another human to move some cash from account A to account B we simply log in from the comfort of our couch and get the job done in a couple of minutes. Saves us time and saves the bank time. Automated testing provides a solution to the manual testing process. Instead of filling out that form one more time and hitting submit to see if the client-side validations trigger as expected we can instruct software

TỪ KHÓA LIÊN QUAN