racket/collects/tests/framework
2006-05-22 21:44:00 +00:00
..
canvas.ss Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
debug.ss Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
exit.ss Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
frame.ss Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
framework-test-engine.icns Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
framework-test-engine.ss , 2005-07-31 01:14:54 +00:00
group-test.ss , 2005-09-09 20:21:21 +00:00
handler-test.ss Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
info.ss disable framework test exes and change web-server executable names 2006-05-22 21:44:00 +00:00
keys.ss added option to disable magic open parens separately from magic close ones 2006-04-28 08:57:05 +00:00
load.ss Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
main.ss added automatic remapping of [ to ( in many cases; see docs for details 2006-04-11 23:20:57 +00:00
mem.ss Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
panel.ss Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
pasteboard.ss Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
prefs.ss Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
README disable framework test exes and change web-server executable names 2006-05-22 21:44:00 +00:00
test-suite-utils.ss , 2005-07-31 01:14:54 +00:00
text.ss Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
utils.ss Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00

`(#|
		      Framework Test Suite Overview

Each tests will rely on the sucessfully 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 mred
as necessary for the test suites. Since some tests actually require
mred to exit in order to pass, this governor is required. 

To run a test use:

   framework-test <test.ss> ...

where or <test.ss> is the name of one of the tests below.
(Note: uncomment the launcher entries in info.ss for this.)
Alternatively, pass no command-line arguments to run all of
the tests. (Under windows, the app will be named "Framework
Test"; see the mred-launcher-names documentation for how the
names change on the various platforms)

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 mred
processes in the doc while the test suite runs or it will
signal failures when there aren't any.

- load: |# load.ss #|

  | This tests that the advertised ways of loading the framework at
  | it's components all work.

- exit: |# exit.ss #|

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

- preferences: |# prefs.ss #|

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


- 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.ss #|
  - canvases: |# canvas.ss #|
  - texts: |# text.ss #|
  - pasteboards: |# pasteboard.ss #|

- keybindings: |# keys.ss #|

  | This tests the misc (non-scheme) keybindings

- searching: |# search.ss #|

  | This tests the seaching frame.

- info: |# info-frame.ss #|

  | This tests the info frame. (ie that toolbar on the bottom of the
                                screen)

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

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

- scheme mode |# scheme.ss #|

  | Make sure that Scheme things work in scheme mode.

- saving tests:

  | These tests will make sure that the usual checks against a user
  | losing their work are in place.

  - autosaving: |# autosave.ss #|
  - closing: |# close.ss #|
  - quitting: |# quit.ss #|

- interactive tests

  | these tests require intervention by people. Clicking and whatnot
  
  - panel:single |# panel.ss #|

  - garbage collection: |# mem.ss #|

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

	
|#)