2009/6/23 孫 邕 <[email protected]>: > > another related question: > i found login to web and give a test takes me much time, > can i make a test script to test my participants and listeners ? > i found many test scripts under test dir, > but i do not have enough knowledge to trace the sources. > could you give some suggestion ?
Hello again, Take some time to learn about Rails testing, it's worth every minute. (maybe http://guides.rubyonrails.org/testing.html) Try to look at the functional tests. Maybe webrat (http://blog.danielwellman.com/2008/06/writing-rails-integration-tests-with-webrat.html) is worth a try. > something like http unit will be help ? Maybe it's probably easier. The most important is to have automated tests. > BTW, > ruby scripts files under config/initializers/ will be loaded > automatically when server start right ? Yes, exactly. Best regards, -- John Mettraux - http://jmettraux.wordpress.com --~--~---------~--~----~------------~-------~--~----~ you received this message because you are subscribed to the "ruote users" group. to post : send email to [email protected] to unsubscribe : send email to [email protected] more options : http://groups.google.com/group/openwferu-users?hl=en -~----------~----~----~----~------~----~------~--~---
