Hi all, Is there any integration with testing tools such as RSpec or Test::Unit planned? I see that the cruise task is run correctly, but the tests show up underneath the build log. Ideally I''d like them to show up the same way that they do in ''java'' CruiseControl, in their own section of tests. Will.
> Is there any integration with testing tools such as RSpec or > Test::Unit planned? I see that the cruise task is run correctly, but > the tests show up underneath the build log. Ideally I''d like them to > show up the same way that they do in ''java'' CruiseControl, in their > own section of tests.Hi Will - what do you mean when you say "show up"? As in literally appear on the screen? I think what you''re describing is probably easy to do, but I''ve never used the Java CC. You mean that when CC.rb does a build, you want to be able to see the error output from any failed tests or specs as formatted HTML, linked from the build details page? (I''m not one of the CC.rb devs, I''m just trying to figure out the question.) -- Giles Bowkett Podcast: http://hollywoodgrit.blogspot.com Blog: http://gilesbowkett.blogspot.com Portfolio: http://www.gilesgoatboy.org Tumblelog: http://giles.tumblr.com
> Hi Will - what do you mean when you say "show up"? As in literally > appear on the screen? I think what you''re describing is probably easy > to do, but I''ve never used the Java CC. You mean that when CC.rb does > a build, you want to be able to see the error output from any failed > tests or specs as formatted HTML, linked from the build details page?I tried to find something on the CruiseControl site: this is closest I could get. http://cruisecontrol.sourceforge.net/reporting/jsp/buildresultsjspscreenshot.gif You see how there''s a tab for unit tests, and it says all unit tests passed? If one of the tests fail, then you see a single line, and then if you click on that line it expands to show the stacktrace. Will.
> I tried to find something on the CruiseControl site: this is closest I > could get. > > http://cruisecontrol.sourceforge.net/reporting/jsp/buildresultsjspscreenshot.gif > > You see how there''s a tab for unit tests, and it says all unit tests > passed? If one of the tests fail, then you see a single line, and > then if you click on that line it expands to show the stacktrace.That''s probably pretty easy to add. It depends on whether or not CC.rb captures the test/spec output. -- Giles Bowkett Podcast: http://hollywoodgrit.blogspot.com Blog: http://gilesbowkett.blogspot.com Portfolio: http://www.gilesgoatboy.org Tumblelog: http://giles.tumblr.com
Alexey Verkhovsky
2008-Jan-27 09:11 UTC
[Cruisecontrolrb-users] UI Integration with RSpec?
On Jan 26, 2008 6:54 PM, Giles Bowkett <gilesb at gmail.com> wrote:> That''s probably pretty easy to add. It depends on whether or not CC.rb > captures the test/spec output.Of course. stdin/stdout of the build process is redirected to projects/MyProject/build-NNN/build.log file. -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com]
I think maybe Will just wants RSpec failures to show up under "Test Failures and Errors" the way Test::Unit failures do, as requested in http://jira.public.thoughtworks.org/browse/CCRB-102 It''s also in http://jira.public.thoughtworks.org/browse/CCRB-169, which seems to be a dupe, though the discussion of enhancing the artifacts directory under CCRB-102 makes it sound like the scope may go beyond the requested "As a Dev, I would like CC.rb to display rspec failures in ''Test Failures and Errors'', so that I can use rspec." Will, have you seen how ccrb displays Test::Unit failures, and would that be sufficient for your needs using RSpec? -hume. On Sun, Jan 27, 2008 at 4:11 AM, Alexey Verkhovsky <alexey.verkhovsky at gmail.com> wrote:> On Jan 26, 2008 6:54 PM, Giles Bowkett <gilesb at gmail.com> wrote: > > That''s probably pretty easy to add. It depends on whether or not CC.rb > > captures the test/spec output. > > Of course. stdin/stdout of the build process is redirected to > projects/MyProject/build-NNN/build.log file. > > -- > Alexey Verkhovsky > CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] > RubyWorks [http://rubyworks.thoughtworks.com] > > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users >
On Jan 27, 2008 7:11 AM, John D. Hume <duelin.markers at gmail.com> wrote:> I think maybe Will just wants RSpec failures to show up under "Test > Failures and Errors" the way Test::Unit failures do, as requested in > http://jira.public.thoughtworks.org/browse/CCRB-102 > > It''s also in http://jira.public.thoughtworks.org/browse/CCRB-169, > which seems to be a dupe, though the discussion of enhancing the > artifacts directory under CCRB-102 makes it sound like the scope may > go beyond the requested "As a Dev, I would like CC.rb to display rspec > failures in ''Test Failures and Errors'', so that I can use rspec." > > Will, have you seen how ccrb displays Test::Unit failures, and would > that be sufficient for your needs using RSpec?I''ve never seen how ccrb displays Test::Unit failures, but if there''s some facility for displaying Test Failures and Errors in their own section, I''d like rSpec to work there. I think that would work perfectly well -- I just don''t want people to have to trawl through stack traces. Will.