This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 118446 - AutoTest with RSpec fails to function with HTML output
Summary: AutoTest with RSpec fails to function with HTML output
Status: RESOLVED WONTFIX
Alias: None
Product: ruby
Classification: Unclassified
Component: Testing (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Erno Mononen
URL: http://www.nabble.com/How-to-get-Auto...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-10 21:18 UTC by mdweezer
Modified: 2009-12-21 06:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mdweezer 2007-10-10 21:18:55 UTC
With the following configuration in the spec.opts file:
--colour
--format
html:TestResults.html
--loadby
mtime
--reverse

Running AutoTest on a Ruby on Rails with RSpec will display the following in the output:
loading autotest/rails_rspec
C:\jruby-1.0.1\bin\jruby.bat -S script/spec -O spec/spec.opts  spec/models/project_spec.rb spec/models/note_spec.rb
spec/controllers/status_notes_controller_spec.rb

When changes are made to a test file and saved, the following will show in the output window as it does recognize which
file has been modified:
C:\jruby-1.0.1\bin\jruby.bat -S script/spec -O spec/spec.opts  spec/controllers/status_notes_controller_spec.rb

However, the TestResults.html output defined in my spec.opts file does not get updated. 

Manually running the following will execute my tests and output the HTML file correctly: 
jruby -S rake spec

Opening the web page is not a requirement as I will often leave a window open with the result that I refresh
periodically while developing.
Comment 1 Quality Engineering 2009-12-21 06:24:11 UTC
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. 

We apologize for any inconvenience.


Thank you.
The NetBeans Team