Maybe something similar to Microsoft's #region directive (
http://msdn.microsoft.com/en-us/library/9a1ybwek(v=vs.71).aspx). It
wouldn't need much intelligence, but you would have to manually define each
block
(define fish '(1 2))
;; region Tests
(module+ test (check andmap number? fish))
;; endreg
One feature that could be helpful here is code folding. DrRacket could then
propose different "views" of one source file (e.g., code only, code+tests,
tests only, etc.).
Not sure how to do it though.
Laurent
On Wed, Jun 6, 2012 at 12:51 AM, John Clements wrote:
>
> On Jun 5, 2012, at 1:01 PM, Da
On Jun 5, 2012, at 1:01 PM, David Janke wrote:
> I just finished reading the blog post about the pre-release submodules
> feature, and I'm curious what you all think about the new "test" submodule
> that allows inline unit tests...
>
> "The new raco test shell command runs the test submodule o
David Janke wrote at 06/05/2012 04:01 PM:
I'm curious what you all think about the new "test" submodule that
allows inline unit tests...
I tried it out to confirm it did what I needed, and plan to start using
it in real code as soon as we get closer to the next Racket release,
which I believe
I just finished reading the blog post about the pre-release submodules
feature, and I'm curious what you all think about the new "test" submodule
that allows inline unit tests...
"The new raco test shell command runs the test submodule of a given module,
so that raco test fish2.rkt checks that all
5 matches
Mail list logo