

Noel Rappin has a Ph.D. in computer science from the Georgia Institute of Technology, where his research included methods for teaching Object-Oriented Programming and Design.
Meer over Noel RappinRails Test Prescriptions
Keeping your application healthy
Samenvatting
'Rails Test Prescriptions' is a comprehensive guide to testing Rails applications, covering Test-Driven Development from both a theoretical perspective (why to test) and from a practical perspective (how to test effectively).
The book covers the core Rails 2 and Rails 3 testing procedures and tools and introduces popular add-ons, including Cucumber, RSpec, Mocha, Factory Girl, Capybara, and RCov. 'Rails Test Prescriptions' shows you both hoe to use these tools and when they are appropriate.
You'll find practical examples of testing Rails models, controllers, and views, as well as integration tests to cover your entire application. Later in the book you'll explore more advanced topics: see how to test Ajax integrations, work with legacy code, and measure the performance of your application.
This book is an invaluable guide to the latest in Rails testing. If you're a Rails programmer who doesn't test code (or you want to test more effectively), this is the book that will get you started.
Specificaties
Inhoudsopgave
1. The goals of automated developer testing
2. The basics of Rails testing
3. Writing tour first tests
4. TDD, Rails style
Part 2: Testing application data
5. Testing models with Rails Unit Tests
6. Creating models test data with fixtures and factories
7. Using Mock objects
Part 3: Testing User-Facing layers
8. Testing controllers with functional tests
9. Testing views
10. Testing JavaScript and Ajax
Part 4: Testing Framework Extensions
11. Write Cleaner tests with Shoulda and Contexts
12. RSpec
Part 5: Testing everything all together
13. Testing workflow with integration tests
14. Write better integration tests with Webrat and Capybara
15. Acceptance testing with Cumcumber
Part 6: Testing your tests
16. Using Rcov to measure test coverage
17. Beyond coverage: What makes good tests?
18. Testing a legacy application
19. Performance testing and performance improvement
A: Sample application setup
B: Bibliography
Index
Anderen die dit boek kochten, kochten ook
Rubrieken
- cadeauboeken
- computer en informatica
- economie
- filosofie
- flora en fauna
- geneeskunde
- geschiedenis
- gezondheid
- jeugd
- juridisch
- koken en eten
- kunst en cultuur
- literatuur en romans
- mens en maatschappij
- naslagwerken
- non-fictie informatief/professioneel
- paramedisch
- psychologie
- reizen
- religie
- schoolboeken
- spiritualiteit
- sport, hobby, lifestyle
- thrillers en spanning
- wetenschap en techniek
- woordenboeken en taal