Interesting Things
Some projects are playing with the Mocha mocking framework. From their site:
Mocha is a library for mocking and stubbing using a syntax like that of JMock, and SchMock. Most commonly Mocha is used in conjunction with Test::Unit, but it can be used in other contexts.
Our own Nathan Sobo has released Treetop 0.1.0:
Treetop is a Ruby-based DSL for text parsing and interpretation. It facilitates an extension of the object-oriented paradigm called syntax-oriented programming.
- Jeff from Inveneo presented us with a tech-talk recently about the technology they are bringing to rural and remote communities throughout the world. Fascinating stuff. A group here has volunteered to help write some software if needed.
Ask for Help
- “Are there problems getting Rspec mocks to ‘reset’ for each spec run?” Mocks persist across test/spec runs for class methods, so watch out.
- “My routes arn’t working…” Remember that Rails routes are positional, which means that they are matched top-to-bottom; changing the position seemed to be the fix in this case.