[racket] DrRacket submodules to run

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Mon Dec 30 12:00:13 EST 2013

No, I imagine you're plugged in just fine.

I've pushed a change to DrRacket so that it runs the tests module before
the main module. I didn't try to make a more complex GUI to simulate things
like the 'raco test' tool or other such things, tho.

Also, DrRacket will keep going to the next submodule in the list unless one
of the previous ones raises an exception (or otherwise escapes). Probably
there should be some way for running the test module to raise such an
exception when it gets to the end and realizes that there are some tests
that didn't pass, but I'm not sure of the best way to communicate that to
the DrRacket level (or even if DrRacket should be involved at all in that,
for that matter -- maybe rackunit or one of the other testing frameworks
should just do the Right Thing somehow).


On Mon, Dec 30, 2013 at 2:51 AM, Ryan Davis <zenspider at gmail.com> wrote:

> On Dec 29, 2013, at 0:42, Ryan Davis <zenspider at gmail.com> wrote:
> > If I look at the language setting details I can choose what submodules
> to run (main / test / others). But what I can't control is the _order_ of
> the submodules. I simply don't want to run main if my tests are going to
> fail but for some reason tests run afterwards, not before. My questions:
> >
> > 1) Is there a reason for running main and then test, not the other way
> around? Cause I simply don't get it.
> >
> > 2) Is there any way for me to override this order?
> >
> > 3) If #2 is possible, is there a way to ensure that main won't run if
> test fails?
> I guess a corollary to this is: am I asking the wrong question? I come
> from a heavy TDD background and I'm wondering if there's some reason or
> thinking I'm not plugged into in racket-land.
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20131230/34b76dea/attachment.html>

Posted on the users mailing list.