Phlip wrote:
>> http://code.jeremyevans.net/doc/fixture_dependencies/
>>
>> It is fixtures for Sequel.
>>     
>
> Another minor architectural problem with the Merb community is some of this 
> stuff does not leap out at the learner.
>
>   
Has nothing to do with Merb. Just because you can do something, doesn't 
mean you have to.
>> Personally when U actually get around to writing the tests for
>> wolfmanblog, I'll probably use givens, but htta is just a personal
>> preference.
>>     
>
> Go for it. But...
>
> Suppose you have a huge program, full of many more business rules than a 
> blog. 
> At my day-job, we have 1,700 test cases and 242 fixtures. To cover business 
> rules, they tend to work together. Each test case needs more than a handful 
> of 
> those fixtures.
>
> Loading them from YAML (like fixture_dependencies might) is mostly in C - 
> Syck 
> and MySQL. The system can generally load them once per test suite, and use a 
> transaction and a rollback around each test case, to preserve test isolation.
>
> Our test run is 5 minutes on a high-end server. It's much longer on our puny 
> little dev stations.
>
> Under the given{} system, if loading one fixture record took 1 millisecond 
> longer - a very generous guestimate for Ruby - our test run would be 6 
> minutes 
> longer
This flexibility thing is really hard for you, isn't it? You can do 
fixtures many many different ways, so instead of using what works for 
you, you complain about all the ways that don't? And don't give that 
garbage about poor documentation and lack of tutorials. I have very few 
hours in the week that I can dedicate to development and I still manage 
to find what I am looking for. You are obviously not looking for a 
solution to any problem here, you are now just trolling. I'm done trying 
to help you.

Derek

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to