Precursor to Effective Ruby.
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
Peter J. Jones 865ff1e0f7 New chapter on RubyGems (first chapter in Markdown) 7 роки тому
chapters New chapter on RubyGems (first chapter in Markdown) 7 роки тому
notes New chapter on RubyGems (first chapter in Markdown) 7 роки тому
source Add a few meta programming source files 9 роки тому
Makefile Add clean targets 9 роки тому
README More testing content 9 роки тому
adv-ruby.tex Added more beef to the testing chapter 9 роки тому

README

-*- mode: org -*-
#+STARTUP: showall

* Chapters
** Automated Testing
*** What Testing Is and Isn't
- Automation (you're going to test anyways)
- Regression
- Code coverage
*** Approaches to Testing
- Testing Methodologies
- Test Driven Development
- Write test before you write code
- Behavior Driven Development
- Testing Techniques
- Black-box testing
- White box testing
- Testing Scopes
- Unit Testing
- Integration Testing
*** Ruby Testing Facilities
- Test::Unit library
- Brief mention of RSpec and Cucumber
- List of test unit assertions
- Mocking
- Fuzzing
*** Writing Effective Tests
- Write them before you write the code
- Get them to fail
*** Chapter Recipes
- Replacing a method without mocking because of side effects
(setting a variable)
- Testing without an internet connection using mocking and local
files
** Content Ideas
*** Blocks
**** Knowing if a block takes arguments
*** Return vs Break vs Last
*** Ruby Object Model
**** Review of class methods and variables
*** Method dispatch and collisions
*** defined?
*** Creating new classes at runtime
*** Contextual `self'
*** Closures
*** Singleton Classes
*** Parallel Computing
**** Threads vs. Processes
*** Performance Considerations
**** Each loops vs. For
*** Introspection
**** Listing variables, methods, and constants
*** Modular Programming with Modules
*** Unit Testing and Mocking
*** Debugging
*** Object Serialization
*** Writing Ruby Modules in C
*** Date Manipulation