__color__	__group__	ticket	summary	component	milestone	type	created	_description_	_changetime	_reporter
3	jaymccarthy	330	Unable to create unique indices	jaymccarthy/mongodb.plt		enhancement	2011-04-27T00:52:09-0400	"mongo ensureIndex requires two documents when creating unique indices. The current interface seems to only provide for one. 

i.e,  db.things.ensureIndex({x : 1}, {unique : true}) does not seem to have a mongo equivalent

"	2011-04-30T14:21:02-0400	anurag@…
3	schematics	160	Port to typed-scheme	schematics/schemeunit.plt		enhancement	2009-03-25T08:10:30-0400	Rewrite the core of SchemeUnit in Typed Scheme.	2009-03-25T08:10:47-0400	schematics
3	schematics	156	test-suite semantics change makes my code infinite loop	schematics/schemeunit.plt		task	2009-03-19T23:29:13-0400	"I was driving myself crazy trying to figure out why my Intel laptop was running my tests while my old Power Mac was taking forever to run them.

Eventually I realized it was because my Power Mac had downloaded a more recent version of Scheme Unit.

Consider the following:

{{{
#lang scheme

#;
(require (planet schematics/schemeunit:3) 
         (planet schematics/schemeunit:3/text-ui))
(require (planet ""main.ss"" (""schematics"" ""schemeunit.plt"" 3 (= 3)))
         (planet ""text-ui.ss"" (""schematics"" ""schemeunit.plt"" 3 (= 3))))

(define felixs-suite (test-suite """"))

(set! felixs-suite 
      (test-suite ""snoc"" 
                  felixs-suite
                  (test-case ""test"" (check-equal? 1 1))))

(run-tests felixs-suite)
}}}

I use the pattern above (in a more complicated manner but abstracted under a macro) to incrementally construct a set of test cases whose evaluation will be delayed until I invoke {{{run-tests}}}.

I can see in the Release Notes for version 3.4 that you say that you have changed things to allow ""arbitrary expressions"" in test suites.  But I would claim that you have merely changed the set of allowable expressions, since my example worked better under the old semantics.  The documentation should be improved to make this clearer.

----

In the meantime, can you tell me how you would achieve the effect I desire?  (One way to think of the desired effect is like the Student Language's {{{check-expect}}} form, which delays invocation of the tests until the entire module body has been evaluated.)


"	2009-05-06T07:53:44-0400	pnkfelix@…
4	spdegabrielle	238	note that you need to restart DrScheme after (require ...)-ing the projectmgr	spdegabrielle/projectmgr.plt		task	2009-12-23T12:28:15-0500	If you could add that to the docs, it might save someone the puzzled 5 minutes I just spent. :-)	2009-12-29T06:25:08-0500	toddobryan@…
3	untyped	130	Use of set-cdr!	untyped/delicious.plt		defect	2008-11-23T14:30:30-0500	This package requires another package that uses set-cdr!	2008-11-26T06:50:24-0500	anonymous
3	untyped	137	Doesn't work in Current Version of PLT	untyped/delicious.plt		defect	2008-12-16T09:11:21-0500	"Looks like it has a dep on srfi-42 which is broken
Or rather, it refers to a file in srfi-42 that no longer exists"	2009-01-13T12:43:11-0500	anonymous
3	williams	207	Sudoku example doesn't work	williams/inference.plt		defect	2009-09-30T16:06:09-0400	The Sudoku example does not work properly.	2009-09-30T16:08:30-0400	williams
