Test automation and Selenium: 4 rules for keeping your tests simple
To support ever shorter release cycles you need to automate testing, and to do that, you need to use a program that can verify your desired behavior. One option is to use tools that can record and replay a scenario, but those are a nightmare to maintain, and you'll probably end up writing the code needed for automating the tests yourself. For automating the testing of a web application, Selenium is a better way. It takes some programming skills, however, and you must take care to ensure that your tests are easy to understand and maintainable. Writing maintainable, easy to understand tests might seem hard, but not if you follow these four, simple rules of design. How to set up a continuous testing framework using Selenium, Maven, and Jenkins Go to TB Learn Simple rules for simplified tests Kent Beck suggested four, seemingly, simple rules in his book “Extreme Programming Explained: Embrace Change.” I’ve paraphrased them below: All tests must pass. The ...