Changes between Version 4 and Version 5 of TestingGuidelines


Ignore:
Timestamp:
Apr 27, 2011, 6:34:16 PM (14 years ago)
Author:
FrederikHeber
Comment:

undo/redo in different tests, added comment on AT_KEYWORDS, lower case

Legend:

Unmodified
Added
Removed
Modified
  • TestingGuidelines

    v4 v5  
    8181{{{
    8282AT_BANNER([Global theme of the test suite section])
     83AT_KEYWORDS([<some keywords>,<actionname>,[undo/redo]])
    8384AT_SETUP([small theme of your test])
    8485...
     
    8990AT_CLEANUP #remove all temporary files
    9091}}}
    91 where ''<return value>'' is some number the code returns to indicate everything worked fine. The global theme is specified only once per '''.at''' file, file ''AT_SETUP'' and ''AT_CLEANUP'' sort of embrace every specific test that you want to do.
    92 
    93 Note that testing the undo/redo-functionality of an Action is always placed into the same test along with the normal functionality.
     92where ''<return value>'' is some number the code returns to indicate everything worked fine. The global theme is specified only once per '''.at''' file, file ''AT_SETUP'' and ''AT_CLEANUP'' sort of embrace every specific test that you want to do. Note that it is required to list the action name under ''AT_KEYWORDS'' and also give undo oder redo as an additional keyword if the undo or redo of the action is tested. It is advised to give further keywords, e.g. the directory name giving the general theme of the tests (selection, analysis, ...). Also note that all keywords are always lower-case!
     93
     94Note that testing the undo/redo-functionality of an Action is always placed into the same test file along with the normal functionality but in different tests (i.e. undo and redo each have their own ''AT_SETUP .. AT_CLEANUP'' wrapping).
    9495
    9596Done. Test via '''make check''' which will also re-create the '''testsuite''' script.