Re: [racket-users] rackunit and logging

2020-05-23 Thread Shriram Krishnamurthi
For those reading this later: there's a bunch of useful information in Alex Harsanyi's blog post and corresponding code: https://alex-hhh.github.io/2019/11/custom-rackunit-test-runner.html https://github.com/alex-hhh/ActivityLog2/blob/master/test/custom-test-runner.rkt Shriram -- You received t

Re: [racket-users] rackunit and logging

2020-05-23 Thread Alexis King
> On May 23, 2020, at 08:53, Shriram Krishnamurthi wrote: > > Alex, thanks for that information. I'm going to go investigate that next. Related to that, I just remembered the existence of rackunit/text-ui and rackunit/gui, which implement two different reporters for RackUnit test cases/suites.

Re: [racket-users] rackunit and logging

2020-05-23 Thread Alexis King
> On May 22, 2020, at 18:47, Shriram Krishnamurthi wrote: > > As an aside, I'm not entirely sure what `test-log!` is there for. Presumably > it's to record in the log "tests" run by operations that are not part of > rackunit? I'm curious how people have used it. Other people have answered othe

Re: [racket-users] rackunit and logging

2020-05-22 Thread David Storrs
Hi Shriram, I have a module, handy/test-more (https://pkgs.racket-lang.org/package/handy), that I think does everything you want; the downside is that the documentation is thorough but it's in the form of essay-style comment sections instead of Scribble. Breaking that out into actual Scribble is

[racket-users] rackunit and logging

2020-05-22 Thread Shriram Krishnamurthi
I'm trying to understand the design of the logging portion of rackunit: https://docs.racket-lang.org/rackunit/Testing_Utilities.html#%28part._.Logging_.Test_.Results%29 1. The "log" seems to only be a *count*, not the actual rackunit output (as the term "log" would suggest). Since I want t

Re: [racket-users] rackunit

2015-06-19 Thread Matthias Felleisen
While Racket enables the construction of new frameworks and languages, indeed encourages it, I think rackunit has proven its value and many of us use it as a de factor standard. (Some also use Eli's test library, because they enjoy the simpler syntax. But it's not quite ready and I am ambiguous

Re: [racket-users] rackunit

2015-06-19 Thread Jay McCarthy
On Friday, June 19, 2015, Neil Van Dyke wrote: > Is `rackunit` to be used for all core Racket testing, long-term? > > Racketeers can use whatever they feel like imho. > Is there any other Racket testing stuff on the horizon? > > Not to my knowledge. Jay > (Reason for asking: I'm about to sta

[racket-users] rackunit

2015-06-19 Thread Neil Van Dyke
Is `rackunit` to be used for all core Racket testing, long-term? Is there any other Racket testing stuff on the horizon? (Reason for asking: I'm about to standardize unit/regression testing for a large Racket-based system. I need to decide whether to build it upon `rackunit` at some level.)