| Line 9: | Line 9: | ||
* XML format :http://gitorious.org/qa-tools/test-definition | * XML format :http://gitorious.org/qa-tools/test-definition | ||
* One test package corresponds one test case definition file | * One test package corresponds one test case definition file | ||
| - | '''File header''' | + | === '''File header''' === |
* Copyright | * Copyright | ||
* License | * License | ||
* Author | * Author | ||
* Changelog | * Changelog | ||
| - | '''Check list''' | + | === '''Check list''' === |
* README | * README | ||
* src/ : contain source files | * src/ : contain source files | ||
| Line 23: | Line 23: | ||
* pack.sh: the script to make package | * pack.sh: the script to make package | ||
* test.spec: spec files to create package | * test.spec: spec files to create package | ||
| - | '''Makefile (??? If need automake)''' | + | === '''Makefile (??? If need automake)''' === |
* make : build test package. | * make : build test package. | ||
* make install: install test binary or script into /usr/bin, tests.xml into /usr/share/<testpackagename>/tests.xml | * make install: install test binary or script into /usr/bin, tests.xml into /usr/share/<testpackagename>/tests.xml | ||
| Line 29: | Line 29: | ||
* make uninstall: remove test binary or scripts, tests.xml under target installation directory. | * make uninstall: remove test binary or scripts, tests.xml under target installation directory. | ||
* make package: create rpm for current test package | * make package: create rpm for current test package | ||
| - | + | === '''Coding Style''' === | |
| - | '''Coding Style''' | + | |
* C/C++ : http://www.chris-lott.org/resources/cstyle/indhill-cstyle.html | * C/C++ : http://www.chris-lott.org/resources/cstyle/indhill-cstyle.html | ||
* Python: http://www.python.org/dev/peps/pep-0008/ | * Python: http://www.python.org/dev/peps/pep-0008/ | ||
* Shell : http://hub.opensolaris.org/bin/view/Community+Group+on/shellstyle | * Shell : http://hub.opensolaris.org/bin/view/Community+Group+on/shellstyle | ||
| - | '''Test Case Design''' | + | === '''Test Case Design''' === |
*Common Rule: | *Common Rule: | ||
** Automate test under condition of stability | ** Automate test under condition of stability | ||
Contents |
Test Definition