[Nitro] testing views
dan at tastapod.com
Wed Sep 19 04:10:12 EDT 2007
No need to apologise! I appreciate all your hard work George, and I'm
very glad to hear you're able to work full time on nitro.
George Moschovitis wrote:
> I am sorry, the testing infrastructure in 0.50.0 is not updated to be
> compatible with the latest changes. This is in my todo list, but it
> will take a bit more time.
> The sad truth is that at the moment there are only two really active
> developers on this project (me and Tom Sawyer of facets fame) and our
> time is limited. I am working full time on Nitro these days so things
> are slowly improving. I am sure you can witness this in the increaded
> volume of this mailing list.
> be patient,
> On 9/18/07, Dan North <dan at tastapod.com> wrote:
>> Hi there.
>> I ran a BDD tutorial at RailsConf on a rails app, and I'm trying to redo
>> it in nitro to present a side-by-side example.
>> I'm using 0.41.0 and I don't know how to test the output of a view in
>> What I want to do is something like:
>> - set up some @properties
>> - invoke rendering on a .xhtml view (ideally by just passing the view
>> name to something)
>> - get the xhtml result as a string (or DOM) that I can verify using xpath
>> Any ideas?
>> ps. I found the TestCase mixin. Any reason why you're hacking
>> Test::Unit::TestCase rather than defining a NitroTestCase subclass?
>> Nitro-general mailing list
>> Nitro-general at rubyforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Nitro-general