Commit Graph

85 Commits

Author SHA1 Message Date
Eli Barzilay
7dc4d2e5a6 Change a bunch of "~%" and "~n" in format strings to "\n". 2010-08-25 17:17:01 -04:00
Kathy Gray
d3cab0a2ca Refocus window on clicking the error source. 2010-08-23 14:37:43 +01:00
Mike Sperber
450109f061 Merge changes to scheme-tests.rkt into racket-tests.rkt. 2010-07-13 17:15:50 +02:00
Mike Sperber
5f25c239f2 Merge remote branch 'local-plt/master'
Conflicts:
	collects/deinprogramm/define-record-procedures.scm
	collects/test-engine/scheme-tests.rkt
	collects/test-engine/test-display.scm
2010-07-13 17:13:30 +02:00
Carl Eastlund
3d59420133 Made test-engine react gracefully to source file names of unexpected representation. 2010-07-02 16:18:48 -04:00
Mike Sperber
faf8ec358f Rename DMdA/HtDP "contract" to "signature". 2010-06-28 14:58:16 +02:00
Mike Sperber
7269b2a1c1 Fix one of the test-outcome messages. 2010-06-09 10:46:56 +02:00
Sam Tobin-Hochstadt
84eae2b5e3 scheme -> racket in test-engine 2010-06-08 12:34:20 -04:00
Mike Sperber
799d356871 Merge deinprogramm/contract/contract-test-display into test-engine/test-display.scm. 2010-05-20 16:57:46 +02:00
Mike Sperber
5f443141f1 String constants for the remaining untranslated test-engine messages 2010-05-20 16:05:15 +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
Eli Barzilay
7f6efdc8be A lot of "MrEd" -> "GRacket"s. 2010-05-16 23:46:05 -04:00
Matthew Flatt
eb15dceb34 rackety misc docs 2010-05-07 09:13:51 -06:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
Sam Tobin-Hochstadt
c7cb124c95 Put dynamic behavior of `check-expect' into functions.
Give those functions types.

svn: r17519
2010-01-06 23:03:08 +00:00
Kathy Gray
f300ba967a Changed syntax of check-member-of so that it will work in htdp-beginner
Updated docs to reflect this

svn: r16065
2009-09-18 14:19:50 +00:00
Kathy Gray
e3c2721052 Adding check-member-of and check-range to the htdp languages and updating the docs.
svn: r16064
2009-09-18 12:37:18 +00:00
Kathy Gray
fcbe2cd7d3 Adding check-member-of and check-range
svn: r16045
2009-09-17 15:50:57 +00:00
Kathy Gray
ddb2e106a0 Turning off the nag
svn: r16022
2009-09-16 13:05:54 +00:00
Mike Sperber
ed269cc43b Make the code that says what the effect of a failed check is a tiny bit clearer.
svn: r15970
2009-09-11 08:56:20 +00:00
Mike Sperber
3ca2b0de04 Clarify that the `test' function runs the checks, not the check forms.
svn: r15969
2009-09-11 08:54:58 +00:00
Kathy Gray
07b104e939 Remove trace error and broken implementation
svn: r15956
2009-09-10 14:03:26 +00:00
Robby Findler
d3a3e0cc8c only raise an exception when there is an exception to raise
svn: r15953
2009-09-10 06:40:25 +00:00
Robby Findler
ed18890817 changed exn? to exn:fail? to avoid catching breaks while running test cases
svn: r15952
2009-09-10 06:37:43 +00:00
Kathy Gray
571eb2884a Step one in preparing collects for the removal of profj
svn: r15913
2009-09-08 13:05:13 +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
e7e65bd4d1 Re-raise check-expect exception after registering the failure, not
before. (PR10402)

svn: r15745
2009-08-15 12:19:39 +00:00
Mike Sperber
28d27a5074 Make sure the test results are displayed, even when an exception
occurs running the tests.

svn: r15724
2009-08-13 06:42:40 +00:00
Kathy Gray
c21afa4bf2 Change to behavior in interactions window. Option 1 implemented.
svn: r15550
2009-07-24 15:52:36 +00:00
Eli Barzilay
a70bf64fd9 Newlines at EOFs
svn: r15380
2009-07-04 02:28:31 +00:00
Mike Sperber
77e4a3aa29 PR 10257
svn: r14957
2009-05-23 12:21:16 +00:00
John Clements
9640e1571c made two methods public to fix error messages
svn: r14946
2009-05-22 22:28:18 +00:00
Kathy Gray
c1cc6328a5 Removed write to display-reason
svn: r14920
2009-05-22 15:23:29 +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
Eli Barzilay
05c7e54222 fix lots of things
svn: r14178
2009-03-19 02:32:45 +00:00
Kathy Gray
05cf243287 Adding check-expect documentation, not tied to the teaching languages docs.
svn: r14172
2009-03-18 15:55:18 +00:00
Kathy Gray
422b9414bd check for functions in the test specification
svn: r14076
2009-03-12 17:23:45 +00:00
John Clements
bbe7282496 ...
svn: r13940
2009-03-04 06:47:17 +00:00
Robby Findler
146e8733cc a fix to the way check-expect expands to play better with test coverage
svn: r13232
2009-01-19 21:24:21 +00:00
Eli Barzilay
cac38f95cb use the test expression as the source for the whole expression, so it is all shown as uncovered until executed
svn: r13158
2009-01-15 23:53:51 +00:00
Eli Barzilay
822a536b7f fix check-expect-maker contract, reorganize code
svn: r13157
2009-01-15 23:41:39 +00:00
Eli Barzilay
76657082d9 better errorage
svn: r13156
2009-01-15 23:12:32 +00:00
Robby Findler
119b5bf0fa added the usual menus to the test window; also 'open' on the mac and drag and drop now work properly
svn: r12642
2008-11-30 04:47:23 +00:00
Kathy Gray
dce2d2529e Make coverage buttons uneditable.
svn: r12496
2008-11-18 18:58:22 +00:00
Kathy Gray
cc25f3852f Corrected bug in test display and custodians shutting down windows. (Had accidentally put the gui actions back on the user's eventspace)
Commit is for the release

svn: r12493
2008-11-18 17:10:19 +00:00
Robby Findler
c1a98ca9ac added a printout when tests are disabled
svn: r12422
2008-11-13 05:34:56 +00:00
Robby Findler
3abe7d6bea removed '(send this ...)' and improved the 'all tests passed' message so it counts the tests
svn: r12421
2008-11-13 05:29:42 +00:00
Kathy Gray
59609e8910 This commit should affect the 4.1.2 release; it removes the buggy bug-fix.
svn: r12115
2008-10-24 13:12:42 +00:00
Kathy Gray
20e8888dad Turned blank window into a window with sensible content instead
svn: r12037
2008-10-14 16:44:20 +00:00
Kathy Gray
c8dce8dccd Erase the contents of a test report after success.
svn: r12035
2008-10-14 16:29:24 +00:00