rubyworks / qed

Quality Ensured Documentation
http://rubyworks.github.com/qed
Other
31 stars 5 forks source link

Bash Code Sections #3

Open ghost opened 14 years ago

ghost commented 14 years ago

It would be nice if code section could support shell (bash) code, for testing bin/ commands. At this point, however, I am not at all certain how this would integrate with the testing of Ruby code.

ghost commented 14 years ago

One option is to have #Transform clauses that works like #When matchers but that transform the code section in some fashion. Eg. a $ echo line could be transformed into system('echo').