| Line 1: | Line 1: | ||
== '''MeeGo Core Test Suite(CTS) Development Guideline''' == | == '''MeeGo Core Test Suite(CTS) Development Guideline''' == | ||
| - | + | === '''Test Definition''' === | |
| - | + | * XML format :http://gitorious.org/qa-tools/test-definition | |
| + | * One test package corresponds one test case definition file | ||
=== '''Test Case Naming''' === | === '''Test Case Naming''' === | ||
* Show the purpose clearly, avoid simply use number. | * Show the purpose clearly, avoid simply use number. | ||
* Name length should less than 30 | * Name length should less than 30 | ||
| - | * Use '_' to connect words | + | * Use '_' to connect words |
| - | + | ||
| - | + | ||
| - | + | ||
=== '''File header''' === | === '''File header''' === | ||
* Copyright | * Copyright | ||
| Line 24: | Line 22: | ||
* 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 | + | * make : build test suite. |
| - | * 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, and tests.xml into /usr/share/<testpackagename>/tests.xml |
* make clean: remove all object file and tempory files | * make clean: remove all object file and tempory files | ||
| - | * make uninstall: remove test binary | + | * make uninstall: remove test binary, scripts, and tests.xml out of target installation directory. |
| - | * make package: create rpm | + | * make package: create rpm 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 | ||
Contents |