gui/gui-test/framework/tests
Robby Findler 1b10e27b5d adjust various things so that the group test can be run in
a single process and without (I believe) depending on the 
OS's idea of which frame has the focus
2017-01-15 18:28:09 -06:00
..
private port some framework tests to the non-race-condition thing 2017-01-14 09:15:25 -06:00
canvas.rkt adjust the canvas test suite to not do the separate-process dance 2015-07-22 12:20:56 -05:00
debug.rkt add a more cover-friendly mode to the framework test suite 2015-04-24 21:31:29 -05:00
exit.rkt Remove extra directories. 2014-12-02 02:33:07 -05:00
frame.rkt port some framework tests to the non-race-condition thing 2017-01-14 09:15:25 -06:00
framework-test Remove extra directories. 2014-12-02 02:33:07 -05:00
framework-test-engine Remove extra directories. 2014-12-02 02:33:07 -05:00
framework-test-engine.icns Remove extra directories. 2014-12-02 02:33:07 -05:00
framework-test-engine.rkt Remove extra directories. 2014-12-02 02:33:07 -05:00
group-test.rkt adjust various things so that the group test can be run in 2017-01-15 18:28:09 -06:00
handler-test.rkt Remove extra directories. 2014-12-02 02:33:07 -05:00
keys.rkt port keys.rkt to avoid separate mred process and racy frame 2017-01-14 21:45:56 -06:00
load.rkt Remove extra directories. 2014-12-02 02:33:07 -05:00
main.rkt Remove extra directories. 2014-12-02 02:33:07 -05:00
mem.rkt Remove extra directories. 2014-12-02 02:33:07 -05:00
number-snip.rkt loosen passing predicate for number snip test 2016-04-15 18:11:29 -05:00
panel-single.rkt Remove extra directories. 2014-12-02 02:33:07 -05:00
panel.rkt Remove extra directories. 2014-12-02 02:33:07 -05:00
pasteboard.rkt Remove extra directories. 2014-12-02 02:33:07 -05:00
prefs.rkt Remove extra directories. 2014-12-02 02:33:07 -05:00
racket.rkt adjust indentation so that hyphens at the start of sexp causes subsequent 2016-06-22 20:44:29 -05:00
README port keys.rkt to avoid separate mred process and racy frame 2017-01-14 21:45:56 -06:00
search.rkt more search fixes 2016-07-26 19:15:48 -05:00
test-docs-complete.rkt Remove extra directories. 2014-12-02 02:33:07 -05:00
test-suite-utils.rkt improve the situation for search results in nested editors 2016-07-23 03:00:00 -05:00
text.rkt adjust text.rkt test suite to not use racy old way of doing things 2017-01-14 20:33:32 -06:00

(#|
                      Framework Test Suite Overview

Each test will rely on the successfully completion of all of the ones
before it. In addition, all test suites rely on the sucessful
completion of the engine test suites and the mzscheme test suites.

All of these tests reside in PLTHOME/collects/tests/framework/

There will be a main mzscheme process which will start up a new gracket
as necessary for the test suites. Since some tests actually require
gracket to exit in order to pass, this governor is required.

To run a test use:

   framework-test <test.rkt> ...

where <test.rkt> is the name of one of the tests below.  Alternatively,
pass no command-line arguments to run all of the tests.

Some of the tests in this file are not yet present in the
testing directory. They are planned future expansions of
this test suite (and have been for some time....)

OS X: you will have to click on the newly started gracket
processes in the doc while the test suite runs or it will
signal failures when there aren't any.

- load: |# load.rkt #|

  | This tests that the advertised ways of loading the framework at
  | its components all work.

- exit: |# exit.rkt #|

  | This tests that exit:exit really exits and that the exit callbacks
  | are actually run.

- preferences: |# prefs.rkt #|

  | This tests that preferences are saved and restored correctly, both
  | immediately and across reboots of gracket.


- individual object tests:

  | These tests are simple object creation and basic operations.
  | Each test assumes that the others pass; this may yield strange
  | error messages when one fails.

  - frames: frame.rkt    -- now runs directly via raco test.
  - canvases: canvas.rkt -- now runs directly via raco test.
  - texts:  text.rkt     -- now runs directly via raco test.
  - pasteboards: |# pasteboard.rkt #|

- keybindings: keys.rkt -- now runs directly via raco test.

  | This tests the misc (non-scheme) keybindings

- searching: |# search.rkt #|

  | This tests the search results

- group tests: |# group-test.rkt #|

  | make sure that mred:the-frame-group records frames correctly.
  | fake user input expected.

- number snip: |# number-snip.rkt #|

  | some tests for the number-snip% class

- scheme tests:

  | Tests the scheme: section

  |# racket.rkt #|

- panel tests:

 |# panel.rkt #|

- |# (interactive #| tests

  | these tests require intervention by people. Clicking and whatnot

  - panel:single |# panel-single.rkt #|

  - garbage collection: |# mem.rkt #|

    | These tests will create objects in various configurations and
    | make sure that they are garbage collected

|#))