Re: [RDT-Dev] RSpec support

2006-11-27 Thread Christopher Williams

Aslak,
 Take a look at RDT's testunit and launching plugins. For the most part I
hacked together Test::Unit support by forking JDT. There's plenty of stuff I
dropped and commented out in the process that could probably be added back
in now that we have a richer model/core.

The basic idea was that we fork off a ruby program in a thread that wraps
the original ruby code and hooks into Test::Unit to catch
failures/errors/successes and send that info across a socket to a the Java
side. (It's very similar to how we do debugging). You might be able to clone
the launch config creation and tell it to launch your own RSpec wrapper in
ruby...

Thanks,
Chris

On 11/12/06, aslak hellesoy [EMAIL PROTECTED] wrote:


On 11/12/06, David Corbin [EMAIL PROTECTED] wrote:
 On Saturday 11 November 2006 22:10, aslak hellesoy wrote:
  (I sent this by mistake to the RadRails google group - I think this is
  the right list)
 
  Hi!
  I don't know if anyone has tried to write an RSpec plugin for RDT yet.
  The latest release (0.7.2) of RSpec makes it quite easy to write
  editor/IDE plugins:
 
  http://rspec.rubyforge.org/tools/extensions/editors/index.html
 
  Would anyone be interested in trying to write an RDT plugin for RSpec?
  One that integrates with Eclipse's unit testing stuff (progress bar
  and all that jazz)
 

 It's not a question of integrating with Eclipse's unit testing stuff.
 Eclipse has no testing stuff.  RDT has testing stuff.


I was referring to the RDT UI for running Test::Unit. It seems very
similar to that of JUnit. Are you saying that the RDT UI is a fork of
the Eclipse JUnit plugin?

Can you provide some pointers about where to start hacking if I want
to make RDT able to run RSpec (and hopefully reuse existing UI code)?

Cheers
Aslak


-
 Using Tomcat but need to do more? Need to support web services,
security?
 Get stuff done quickly with pre-integrated technology to make your job
easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Rubyeclipse-development mailing list
 Rubyeclipse-development@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/rubyeclipse-development


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Rubyeclipse-development mailing list
Rubyeclipse-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rubyeclipse-development





--
http://cwilliams.textdriven.com
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Rubyeclipse-development mailing list
Rubyeclipse-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rubyeclipse-development


Re: [RDT-Dev] RSpec support

2006-11-12 Thread aslak hellesoy
On 11/12/06, David Corbin [EMAIL PROTECTED] wrote:
 On Saturday 11 November 2006 22:10, aslak hellesoy wrote:
  (I sent this by mistake to the RadRails google group - I think this is
  the right list)
 
  Hi!
  I don't know if anyone has tried to write an RSpec plugin for RDT yet.
  The latest release (0.7.2) of RSpec makes it quite easy to write
  editor/IDE plugins:
 
  http://rspec.rubyforge.org/tools/extensions/editors/index.html
 
  Would anyone be interested in trying to write an RDT plugin for RSpec?
  One that integrates with Eclipse's unit testing stuff (progress bar
  and all that jazz)
 

 It's not a question of integrating with Eclipse's unit testing stuff.
 Eclipse has no testing stuff.  RDT has testing stuff.


I was referring to the RDT UI for running Test::Unit. It seems very
similar to that of JUnit. Are you saying that the RDT UI is a fork of
the Eclipse JUnit plugin?

Can you provide some pointers about where to start hacking if I want
to make RDT able to run RSpec (and hopefully reuse existing UI code)?

Cheers
Aslak

 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Rubyeclipse-development mailing list
 Rubyeclipse-development@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/rubyeclipse-development


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Rubyeclipse-development mailing list
Rubyeclipse-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rubyeclipse-development