The World Wide Web has come a long way from static HTML pages. Today's developers enforce and enjoy standards, and we have built the web's primitive tools into advanced libraries, frameworks, and platforms.With these new freedoms come new responsibilities. Developers can now write some amazing bugs. A bug in a web page, hosted in a free web browser, can render expensive servers useless. Modern editors help rapidly write tangled and crufty code, the perfect habitat for bugs of every species, in situations that are hard to debug. We need help from the mortal enemy of the bug: Test-First Programming. This Short Cut seeks fixes for the hardest situation in web development; proactive test cases for Ajax code. We survey existing techniques, and invent new ones. Our goal is heads-down programming, without repeatedly clicking on a web browser.
Table of contents
Test Driven Ajax (on Rails)
- Enough Planning! Now Rush to Coding...
- YAML !omap
- assert_xpath Queries XHTML Details
- Why YPath?
- In-Place Editing (without Ajax.InPlaceEditor()!)
- Simulate Ajax Server Hits with xhr :get
- Simulate Ajax Posts with select_form
- Using an IFRAME to Test Web Sites
- Wiki Tests Wiki
- Red Bar
- Green Bar
- About the Author
- Title: Test Driven Ajax (on Rails)
- Release date: April 2007
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596510657
You might also like
Breakthrough Curl techniques Build rich, robust, low-bandwidth Web applications Curl makes it easy to build Internet …
Learning SQL, 3rd Edition
As data floods into your company, you need to put it to work right away—and SQL …
How Computers Work: The Evolution of Technology, Tenth Edition
The Evolution of Technology Having sold more than 2 million copies over its lifetime, How Computers …
Ruby on Rails Tutorial: Learn Web Development with Rails, 7th Edition
"Ruby on RailsTM Tutorial Tutorial by Michael Hartl has become a must-read for developers learning how …