rubyworks / qed

Quality Ensured Documentation

Home Page:http://rubyworks.github.com/qed

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bash Code Sections

opened this issue · comments

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.

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').