[racket-dev] Writing tests for contracts outside of racket/contract

From: Eric Dobson (eric.n.dobson at gmail.com)
Date: Wed Jun 27 00:34:00 EDT 2012

I am adding the contract combinators free-id-table/c and
bound-id-table/c, and working on the tests for them. It would make
sense to put them in tests/racket/id-table-tests.rkt, but
tests/racket/contract-test.rkt has many testing combinators for
contracts that would be useful. Is it reasonable to extract these out
to a module so that other tests can use them as well? If so does it
belong in tests/racket because it is only for tests or is tests/racket
limited to the actual testing files.

Posted on the dev mailing list.