|
|
Yahoo! Developer Network:Front-End Automated Testing
Front-End Automated Testing
Neil Crosby introduces the method that he has utilized in order to automate testing of frontend code.
Neil explains how frontend code can be tested automatically. His main idea is to incorporate the use of validators that are already available to test the frontend code. For HTML code, the W3C HTML Validator, for CSS, the W3C CSS Validator, for Javascript, JsLint. Each of these validators are available to run locally making it easier than having to make code accessible to the web for validation.
Many people don’t like the idea of validation because it can cause errors where some items may have been allowed through that would normally fail a validation. Neil explains how you can use a custom DTD that will enable the validator to test against the specification that you are working on.
Neil finished by explaining the different methods that can be used to incorporate the test suite into an automatic framework depending on the systems already in place. The emphasis on testing is always a good reminder, it can make us more productive as developers and Neil provide a very useful method of incorporating frontend testing into a test suite.
You can see the slides here
ABOUT THE YAHOO! DEVELOPER NETWORK
|
The Yahoo! Developer Network offers Web Services and APIs that make it easy for developers to build applications and mashups. Yahoo! APIs let developers tap into Yahoo!'s world-class data and infrastructure to help power their businesses and integrate data sources in new ways, making the web a more useful and interesting place for everyone.
More about the Yahoo! Developer Network
|
|
PODCAST FRONT-END AUTOMATED TESTING
|
|
|
PROGRESSIVE JAVA PODCASTS
|
OTHER PROGRESSIVE JAVA EVENTS
|
SpringSource's Spring Application Development
4 DAY COURSE. London, Tuesday, May 29th
|
|
Uncle Bob's Advanced Test Driven Development in NY
3 DAY COURSE. Featuring Uncle Bob (Robert C. Martin) New York, Tuesday, May 29th
|
|
London Java Community
FREE EVENT:
Gradle
London, Tuesday, June 12th
|
|
London Scala Users' Group
FREE EVENT:
Real-World Scala Project
London, Wednesday, June 13th
|
|
GeekOut 2012
CONFERENCE (2 DAYS)
Tallinn, Thursday, June 14th
BOOK NOW!
|
|
Jon & Kevlin's Agile Development Course
3 DAY COURSE. Featuring Jon Jagger London, Monday, June 18th
|
|
Simon Brown's Enterprise Software Developer
3 DAY COURSE. Featuring Simon Brown London, Monday, June 18th
|
|
Typesafe's Fast Track to Scala
2 DAY COURSE. Featuring Trond Bjerkestrand London, Monday, June 18th
|
|
|
|