UI Partition Jester Design
Val, Sharon, Tom
9/07/2000
| Nutshell Vision: | Design and Implement an intuitive GUI Partition for Jester as stated by the Jester |
| architecture. | |
| Narrative: | The tester has a GUI interface (in addition to a command line interface) that allows very |
| quick automated testing. We want to have a window come up, similar to the mockup. | |
| The customer will have the ability to enter the full class name of their test, and | |
| hit 'Run'. This will send the test to the Tester Partition, and call runSuite(). While | |
| the test is running, a progress bar will advance to provide a visual indication of test | |
| progress towards completion. Thus when the test suite is complete, the bar is red or | |
| green. A text box will display the elapsed time in seconds of the test thus far. While | |
| the test is running, the GUI Partition will display three boxes, "Test", "Exceptions", | |
| and "Failures", the number of Tests, the number of Exceptions, and the number of | |
| Failures encountered. "Failures" is the total number of AssertFailureExceptions, | |
| and is always less than or equal to "Exceptions". | |
| When the test completes, an Exceptions _list_ box at the bottom will display one | |
| line per exception encountered. The size of this window shall be 5 lines, and shall | |
| be scrollable. An exception may be selected and the exception stack trace will | |
| display in an Exception Stack Trace box, which is also 5 lines and scrollable, and | |
| is located beneath the Exceptions list box. | |
| Key High Value Goals: | Ability to specify full class name to test. Verifies class name is valid. (Future |
| version: browse for class name) GUI indicates number of successes and failures. | |
| Progress bar indicates progress of the test. Green and red color in progress bar | |
| indicates success or failure. One line displays per Exception, with option to | |
| display Stack Trace. | |
| Use Cases: | Actors |
| 1. Starter of the system (could be a human, could be a system call...) | |
| 2. User of the Jester GUI | |
| 3. Events from Tester partition | |
| 4. Tester of the GUI (future release) |
| Use Cases Stepped Out |
|          Start System |
|          Run Test |
|          User Wants to See Window Updated When Events Occur |
|          User Wants to Know What Caused An Exception |
|          User Closes Tester Window |
| Use Case Step | Responsibility |
|          Start System | |
| Mediator | |
| Mediator | |
| Mediator | |
| View Creator | |
| View Creator | |
| View | |
| View | |
| View | |
|          Run Test | |
| User | |
| User | |
| View | |
| Mediator | |
| Mediator | |
| Mediator | |
| View | |
|          User Wants to See Window Updated When Events Occur | |
| Mediator | |
| Mediator | |
| Mediator | |
| View | |
| View | |
| View | |
| View | |
| View | |
| View | |
|          User Wants to Know What Caused An Exception | |
| User | |
| View | |
| Mediator | |
| Mediator | |
| View | |
|          User Closes Tester Window | |
| User | |
| Mediator | |
| Mediator |