Re: [Orgmode] [babel] Babel as a test harness?

2010-03-20 Thread Nathan Neff
On Fri, Mar 19, 2010 at 7:45 PM, Dan Davison wrote: > Nathan Neff writes: > > > I think it would be cool to use Org-babel as a simple test harness. > > > > I'd like to have an org file, with various sections that demonstrate how > to do > > something in Groovy. I'd like to be able to run all th

Re: [Orgmode] [babel] Babel as a test harness?

2010-03-20 Thread Nathan Neff
On Fri, Mar 19, 2010 at 7:45 PM, Dan Davison wrote: > Nathan Neff writes: > > > I think it would be cool to use Org-babel as a simple test harness. > > > > I'd like to have an org file, with various sections that demonstrate how > to do > > something in Groovy. I'd like to be able to run all th

Re: [Orgmode] [babel] Babel as a test harness?

2010-03-19 Thread Dan Davison
Nathan Neff writes: > I think it would be cool to use Org-babel as a simple test harness. > > I'd like to have an org file, with various sections that demonstrate how to do > something in Groovy.  I'd like to be able to run all the code in the org file > and make sure > they all run successfully

[Orgmode] [babel] Babel as a test harness?

2010-03-19 Thread Nathan Neff
I think it would be cool to use Org-babel as a simple test harness. I'd like to have an org file, with various sections that demonstrate how to do something in Groovy. I'd like to be able to run all the code in the org file and make sure they all run successfully (return code 0). In Groovy, the