Commit Graph

30 Commits

Author SHA1 Message Date
Joe Gibbs Politz
e264e41488 Add check-match to rackunit
check.rkt:
  Added the actual check-match macro.

test.rkt:
  Just a provide statement

check-test.rkt:
  7 additional tests for check-match, and a macro to help create tests

check.scrbl:
  Documentation and examples for check-match
2012-11-20 13:02:31 -05:00
Matthew Flatt
02d2b4dd62 fix rackunit formatting
Repairs mistake in 36f519fe64.
2012-08-15 07:41:49 -06:00
Matthew Flatt
36f519fe64 remove rackunit' dependency on srfi/13'
Cuts the bytecode footprint of `rackunit' in half
(by more than 200 KB).
2012-08-14 09:48:56 -06:00
John Clements
9f9468f7c2 check-= uses magnitude to compare number differences 2012-05-03 10:55:49 -07:00
Ryan Culpepper
2e4d4e21ca rackunit: change exn:test to extent exn:fail
closes PR 12393
2011-12-02 14:41:17 -07:00
Ryan Culpepper
a100395626 rackunit: prevent test case from killing test-runner thread
closes PR 11586
2011-10-07 19:40:48 -06:00
Ryan Culpepper
f7a6c4a3b6 rackunit: all checks return void
closes PR 12001
2011-10-07 19:40:48 -06:00
Ryan Culpepper
c7f86d276c removed useless requires 2011-09-27 19:28:44 -06:00
Ryan Culpepper
43d3b5d8bc rackunit: added #:wait? arg to test/gui 2011-09-20 14:49:49 -06:00
Ryan Culpepper
3b707c1e54 rackunit: fix require/expose to work on variable-like macros
(eg struct names, names w/ contracts, etc)
2011-07-07 14:00:22 -06:00
Ryan Culpepper
b45b111960 rackunit: don't assume raised value is exn
Closes PR 11632
2011-05-10 18:17:21 -06:00
Ryan Culpepper
f6b73f01e1 rackunit: drop redundant 'params info, use error-display-handler
Closes PR 11618
2011-05-10 18:17:21 -06:00
Ryan Culpepper
73ab167522 created racket/syntax from parts of unstable/syntax 2011-04-07 09:47:20 -06:00
John Clements
683f6b0fe4 renamed foldts to foldts-test-suite 2011-03-08 13:40:39 -08:00
Ryan Culpepper
755b3d2df2 improve rackunit gui performance 2011-02-04 15:42:25 -07:00
Ryan Culpepper
e3c02f7072 auto-open top-level test suites in rackunit gui
Merge to release branch
2011-02-03 17:02:36 -07:00
Ryan Culpepper
9d42ef9235 fixed race in rackunit gui
Merge to release branch
2011-02-03 17:02:36 -07:00
Jay McCarthy
267d2293c0 Fixing error introduce by Robby in fd53321 2010-11-25 11:11:46 -05:00
Robby Findler
fd53321823 rackunit: bring back source locations for check-equal? used in 'ho' position 2010-11-23 12:35:10 -06:00
Ryan Culpepper
f17d0001c4 Changed rackunit top-level test output to stderr
Made test-begin accept zero expressions
 Closes PR 11331
2010-10-29 16:01:50 -06:00
Ryan Culpepper
5a8d2f010e added data/gvector, docs (need tests) 2010-09-06 22:15:29 -06:00
Ryan Culpepper
fff692309e removed useless requires 2010-09-03 13:53:42 -06:00
Robby Findler
8ece97219a a hack to work around what appears to be just a wrong way of doing things, but will ask Noel later.
The basic problem is that (with-check-info* '() (lambda () ...whatever...)) can, in some cases,
double the information that is recorded in a failed test case. Probably the right thing is
to use a parameter or something instead of using continuation marks directly.
2010-08-14 21:34:44 -05:00
Robby Findler
b56019c275 generalized check-exn so that you can supply a regular expression as the predicate (which matches the exception message) 2010-08-14 21:34:44 -05:00
Jay McCarthy
2985001a79 Fixing PR10950 2010-06-02 10:20:20 -06:00
Jay McCarthy
28dce6996a Forgot one place 2010-05-26 13:18:02 -06:00
Jay McCarthy
c3d07af8d3 Fixing sloppy rename. Include in release. 2010-05-26 13:16:36 -06:00
Ryan Culpepper
d43792926a racunit: add racunit menu, Lock option 2010-05-17 16:33:55 -06:00
Ryan Culpepper
3f9233a718 racunit: stop running tests when gui is closed 2010-05-17 16:33:55 -06:00
Eli Barzilay
7b14a1f585 "Racunit" -> "Rackunit" 2010-05-17 12:07:32 -04:00