]> source.dussan.org Git - vaadin-framework.git/commit
Added automatic test framework (ATF) test.
authorJani Laakso <jani.laakso@itmill.com>
Fri, 11 May 2007 14:13:15 +0000 (14:13 +0000)
committerJani Laakso <jani.laakso@itmill.com>
Fri, 11 May 2007 14:13:15 +0000 (14:13 +0000)
commit22e122f7664ab6e2aecae5fdda1028ea3bcbc4e3
tree2d19a6da69f79c26fdc84f80031f488be5626074
parent012fc6fb5ad3ecc76dbc26c8c39e13620de47704
Added automatic test framework (ATF) test.

Here's basic ATFTest application that I have used to evaluate automated test frameworks. It is basically calculator application which emulates application changes which should not brake test cases.

1. Calculator functionality is used to ensure test cases
- contains buttons (operations + numbers) and textfield (result)
- test case used components contain * unique * PIDs which ATF should use
- ATF test case consists of pushing calculator buttons and reading correct result from textfield

2. Layouts are randomized
- any component can be located randomly under panel, tabsheet, grid, orderedlayout etc.
- ATF should find component even if it's relocated

3. All component captions have identical names (or randomized)
- captions are changed with multilingual applications, such as ROP and Rondo R8
- ATF should not use on captions

4. Random components are dispersed to the application
- these are just "noise", PIDs may change
- ATF should not be affected of these

svn changeset:1419/svn branch:trunk
WebContent/WEB-INF/web.xml
src/com/itmill/toolkit/demo/ATFTest.java [new file with mode: 0644]