zenspider
2017-6-11 00:44:55

anyone know how the #mailing-lists channel works? I ‘d like to set up a similar channel in our group for our mailing list


notjack
2017-6-11 06:36:25

@ben What do you think of adding a (check-fail <some-check-expr>) check to rackunit? So (check-fail (check-equal? 1 1)) would be a failing test and (check-fail (check-equal? 1 2)) would be a passing one.


ben
2017-6-11 06:47:34

hmm


ben
2017-6-11 06:47:52

I think it makes more sense to change fail-check


notjack
2017-6-11 06:48:35

in what way?


notjack
2017-6-11 06:49:47

suppose I have a custom check check-foo, how should I test it ideally?


notjack
2017-6-11 06:50:38

check-fail plus just using check-foo directly seems like it’d cover testing that the check passes and fails at the right times, but it wouldn’t let you test that the check adds the right check-info