Issue #2969 has been updated by Markus Roberts.

While I agree with the goal, I'm not sure how far automated conversion will 
take us.  Many of the older tests are idiosyncratically structured and an 
automated conversion may only further obscure their intent.  The minimalistic 
just run-them-as-if-they-were-rspec solutions are potentially worrisome in that 
they appear to introduce semantic changes that may subtlety affect the validity 
of some tests, while not actually addressing the core problem (to wit, that the 
older tests suck).

But yeah, we need to do something about them.
----------------------------------------
Refactor #2969: Convert Test::Unit tests to RSpec
http://projects.reductivelabs.com/issues/2969

Author: James Turnbull
Status: Accepted
Priority: Normal
Assigned to: Markus Roberts
Category: testing
Target version: 
Affected version: 0.25.1
Branch: 


Use automatic conversion to convert Test::Unit tests to Rspec.

Here's some examples of howtos:

<a href="http://www.devchix.com/2008/01/04/migrating-from-testunit-to-rspec/";>A 
rails specific example</a>

A <a 
href="http://pragmatig.wordpress.com/2008/03/26/convert-testunit-to-rspec-by-script/";>generic
 example</a> using the code from <a 
href="http://github.com/relevance/spec_converter";>this project</a>.

<a 
href="http://davidjrice.co.uk/2007/08/12/ruby-on-rails-plugin-test-unit-to-rspec-converter.html";>Another
 rails specific example</a>

An example of just <a 
href="http://blog.davidchelimsky.net/2009/02/02/rspec-works-with-test-unit/#more-1543";>mapping
 the to rspec</a> without any conversion.




-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to