Hi! In my local Ruby user group we're planning to write a book about Ruby.
It'll contain snippets of code and we'd like to be hable to run those
snippets in order to "test" the book and ensure all examples run with
different versions or Ruby.
Could you recommend me any tool or workflow to achieve this goal?
On Dec 13, 2014, at 15:31, Juanjo Conti <jjconti@gmail.com> wrote:
Hi! In my local Ruby user group we're planning to write a book about Ruby. It'll contain snippets of code and we'd like to be hable to run those snippets in order to "test" the book and ensure all examples run with different versions or Ruby.
Could you recommend me any tool or workflow to achieve this goal?
Thanks in advance!
--
Juanjo Conti
Mi primer novela ya se puede conseguir en: juanjoconti.com.ar
If you treat each snippet as a test case, wouldn't any test case framework
do the job? (i.e. minitest, rspec, etc)
-Raj
···
On Sat, Dec 13, 2014 at 4:09 PM, Ryan Davis <ryand-ruby@zenspider.com> wrote:
Xmp was written for exactly this purpose.
On Dec 13, 2014, at 15:31, Juanjo Conti <jjconti@gmail.com> wrote:
Hi! In my local Ruby user group we're planning to write a book about Ruby.
It'll contain snippets of code and we'd like to be hable to run those
snippets in order to "test" the book and ensure all examples run with
different versions or Ruby.
Could you recommend me any tool or workflow to achieve this goal?
Thanks in advance!
--
Juanjo Conti
Mi primer novela ya se puede conseguir en: juanjoconti.com.ar
2014-12-13 21:09 GMT-03:00 Ryan Davis <ryand-ruby@zenspider.com>:
Xmp was written for exactly this purpose.
On Dec 13, 2014, at 15:31, Juanjo Conti <jjconti@gmail.com> wrote:
Hi! In my local Ruby user group we're planning to write a book about Ruby.
It'll contain snippets of code and we'd like to be hable to run those
snippets in order to "test" the book and ensure all examples run with
different versions or Ruby.
Could you recommend me any tool or workflow to achieve this goal?
Thanks in advance!
--
Juanjo Conti
Mi primer novela ya se puede conseguir en: juanjoconti.com.ar
--
Juanjo Conti
Mi primer novela ya se puede conseguir en:
If you treat each snippet as a test case, wouldn't any test case framework
do the job? (i.e. minitest, rspec, etc)
-Raj
On Sat, Dec 13, 2014 at 4:09 PM, Ryan Davis <ryand-ruby@zenspider.com> > wrote:
Xmp was written for exactly this purpose.
On Dec 13, 2014, at 15:31, Juanjo Conti <jjconti@gmail.com> wrote:
Hi! In my local Ruby user group we're planning to write a book about
Ruby. It'll contain snippets of code and we'd like to be hable to run those
snippets in order to "test" the book and ensure all examples run with
different versions or Ruby.
Could you recommend me any tool or workflow to achieve this goal?
Thanks in advance!
--
Juanjo Conti
Mi primer novela ya se puede conseguir en: juanjoconti.com.ar
--
Juanjo Conti
Mi primer novela ya se puede conseguir en:
On Sun, Dec 14, 2014 at 12:31 AM, Juanjo Conti <jjconti@gmail.com> wrote:
Hi! In my local Ruby user group we're planning to write a book about Ruby.
It'll contain snippets of code and we'd like to be hable to run those
snippets in order to "test" the book and ensure all examples run with
different versions or Ruby.
Could you recommend me any tool or workflow to achieve this goal?