Commit Graph

71 Commits

Author SHA1 Message Date
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
John Clements
7d5e704058 went to simple true/false for stepper results
svn: r11720
2008-09-13 06:28:46 +00:00
Kathy Gray
9c4eaa2c22 bug correction
svn: r11531
2008-09-03 15:11:06 +00:00
Kathy Gray
0f01d3202d Turning on exceptions in check-expect
svn: r11385
2008-08-22 14:25:53 +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
Kathy Gray
14484e2ba6 Assorted bug fixes
svn: r11142
2008-08-08 10:58:17 +00:00
Eli Barzilay
7d50e61c7f * Newlines at EOFs
* Another big chunk of v4-require-isms
* Allow `#lang framework/keybinding-lang' for keybinding files
* Move hierlist sources into "mrlib/hierlist", leave stub behind

svn: r10689
2008-07-09 07:18:06 +00:00
Kathy Gray
488f8c210e Corrected bug introduced by the introduction of match-let
svn: r10339
2008-06-18 12:51:22 +00:00
Matthew Flatt
938df1800c improve error reporting ands doc for check-expect (PR 9499 and 9500)
svn: r10257
2008-06-13 17:24:24 +00:00
John Clements
87604332f7 updates for stepper
svn: r10119
2008-06-04 06:01:17 +00:00
Matthew Flatt
5d16ec7ea5 remove separator when Enale/Disable Tests menu item is removed
svn: r9831
2008-05-14 12:59:02 +00:00
Kathy Gray
488bbd3829 Added string-constants for test-engine menu items.
Moved Enable/disable to language-X menu, and updated docs

Sending old test window support to the 'attic'

svn: r9824
2008-05-13 15:50:25 +00:00
Kathy Gray
b44c20d3c3 Clarified grammars
Clarified display of field-based failures in test report

svn: r9818
2008-05-12 22:34:33 +00:00
Kathy Gray
bb90917e8c Correcting a bug that lost checks not in methods
Changing menu dialogs style, and placement for Dock

svn: r9817
2008-05-12 21:24:19 +00:00