search for: fuel_pric

Displaying 1 result from an estimated 1 matches for "fuel_pric".

Did you mean: fuel_price
2006 Jul 29
6
Complex tests - use a DSL instead of fixtures
I''ve been finding I use fixtures less and less lately. I am working with rather complex testing of code that does data analysis. Each test may involve 5-10 tables and some of the data is different in nearly every test. I''ve found it much more readable to build a mini-DSL for the setting up the database rather than using a huge amount of fixtures. It has the added benefit of