Yes make a list of what you run into. In all honesty not many folks
use test/unit with merb and none of the core developers do. So I am
not super surprised that it's not in the best working state ;)
rspec definitely works fine. Please make a list of problems you have
with test./unit and merb and we will work to fix the issues.
Thanks
-Ezra
On Mar 29, 2008, at 9:50 AM, Phlip wrote:
> Merbies:
>
> When I generate a controller with option -T, I get a nice
> "functional" test
> suite (meaning a suite that mocks a controller and a web server):
>
> class GrepperTest < Test::Unit::TestCase
>
> def setup
> @controller = Grepper.build(fake_request)
> @controller.dispatch('index')
> end
>
> # Replace this with your real tests.
> def test_should_be_setup
> assert false
> end
> end
>
> However, 'rake test' does not mind the 'assert false' there. 'rake
> test:functionals' does not exist, and 'ruby test/functional/
> grepper_test.rb'
> produces "no such file to load -- test/functional/../test_helper".
>
> Copying one in from
> 'app_generators/merb_plugin/templates/test/test_helper.rb' leads to
> "uninitialized constant Test"
>
> Should I just be entering these issues into a do-list somewhere? I'm
> only
> using generated code, so the odds of pilot error are kind'a low...
>
> --
> Phlip
>
>
>
> _______________________________________________
> Merb-devel mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/merb-devel
- Ezra Zygmuntowicz
-- Founder & Software Architect
-- [EMAIL PROTECTED]
-- EngineYard.com
_______________________________________________
Merb-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/merb-devel