Commit Graph

14 Commits

Author SHA1 Message Date
Kathy Gray
7758f508c5 Addition of define-wish to the teaching languages and corresponding addition of support for wishes in test reports and check-expects 2011-02-21 12:46:39 +00:00
Eli Barzilay
ee138cf2cb Some repeated "and and"s and "the the"s, and two more typos.
Closes PR 11229.
2010-09-20 15:38:18 -04:00
Jay McCarthy
01a41a812e Closing pr11216. Adding one armed check-error to teaching languages.
[It will not bother me if we revert this commit. I liked SK's idea and found it easy to implement. I wonder if others will be worried that it is easy to unintentionally leave off the second argument to check-error. I also wonder if it is problematic to add new string constants, like I've done.]

Here is an example:

(check-error (/ 1 0) "/: division by zero")
(check-error (/ 1 0) "divide by zero")
(check-error (/ 1 0))
(check-error 1)

Here is the output:

Ran 4 tests.
2 of the 4 tests failed.

No signature violations.

Check failures:
	check-error encountered the following error instead of the expected divide by zero
   :: /: division by zero
in ex.rkt, line 2, column 0
	check-error expected an error, but instead received the value 1.
in ex.rkt, line 4, column 0
2010-09-16 21:00:05 -06:00
Eli Barzilay
7dc4d2e5a6 Change a bunch of "~%" and "~n" in format strings to "\n". 2010-08-25 17:17:01 -04:00
Mike Sperber
faf8ec358f Rename DMdA/HtDP "contract" to "signature". 2010-06-28 14:58:16 +02:00
Mike Sperber
8590e8cadf Merge deinprogramm contract test-engine into the regular one.
This adds support for contracts.
2010-05-20 15:31:45 +02:00
Kathy Gray
fcbe2cd7d3 Adding check-member-of and check-range
svn: r16045
2009-09-17 15:50:57 +00:00
Mike Sperber
89ec442c04 Merge branches/mike/quickcheck:
Add QuickCheck-based property testing to the DeinProgramm/DMdA languages.

svn: r15901
2009-09-07 16:31:18 +00:00
Mike Sperber
77e4a3aa29 PR 10257
svn: r14957
2009-05-23 12:21:16 +00:00
Mike Sperber
1408502378 Translate the messages from the test engine.
This requires some refactoring to move the relevant message generation
to test-display.scm.

svn: r14668
2009-04-30 12:32:02 +00:00
Kathy Gray
bd12705f83 svn: r11380 2008-08-22 12:25:03 +00:00
Kathy Gray
b0aeb1d259 Getting source of error into test reports
svn: r11333
2008-08-19 17:03:40 +00:00
Eli Barzilay
22f506d718 formatting, v4-isms, props, etc
svn: r9168
2008-04-05 16:10:01 +00:00
Kathy Gray
7a6dff6d19 Merging testing branch (kathyg/test-harnessv4-2) onto trunk: -r8903:9138
svn: r9160
2008-04-04 11:30:36 +00:00