From b828312e0401f0ca689748a5436471bd0f0fb0dd Mon Sep 17 00:00:00 2001 From: Zhiqiang Zhang Date: Thu, 28 Aug 2014 16:31:41 +0800 Subject: [PATCH] Rename readme.txt to readme.md and format it - Reword and format the text as markdown - Remove trailing white spaces --- xsd/readme.md | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ xsd/readme.txt | 53 ---------------------------------------------------- 2 files changed, 59 insertions(+), 53 deletions(-) create mode 100644 xsd/readme.md delete mode 100644 xsd/readme.txt diff --git a/xsd/readme.md b/xsd/readme.md new file mode 100644 index 0000000..687f28e --- /dev/null +++ b/xsd/readme.md @@ -0,0 +1,59 @@ +# XSLT style for Test Case and Test Result + +## File structure + +- readme.txt +- test_definition.xsd // The schema of test definition +- tests.css // CSS style for showing test cases and results +- testresult.xsl +- testcase.xsl +- tests.xml //example of test cases +- result.xml //example of test result + +## Applying the style + +### Update in definition and result XML + +To apply this style for the definition XML of test cases, please add below statement before the root element of XML (the tag "test_definition"). + +`` + +... such as: + +``` + + + +``` + +To apply this style for the test-result XML, please add below statement before the root element of XML (the tag "test_definition"). + +`` + +... such as: + +``` + + + +``` + +### Deploy XSLT and CSS style + +Please add at least the 3 files into each test package. + +- tests.css +- testresult.xsl +- testcase.xsl + +... such as: + +``` +tct-alarm-tizen-tests/ +|-- ... +|-- testcase.xsl +|-- testresult.xsl +|-- tests.css +|-- ... +``` + diff --git a/xsd/readme.txt b/xsd/readme.txt deleted file mode 100644 index 2040274..0000000 --- a/xsd/readme.txt +++ /dev/null @@ -1,53 +0,0 @@ -= XSLT style for Test Case and Test Result = - -== Files structure == - - readme.txt - test_definition.xsd //The schema of test definition - tests.css // CSS style for showing test cases and results - testresult.xsl - testcase.xsl - tests.xml //example of test cases - result.xml //example of test result - - - == Applying the style == - - === Update in definition and result XML === - - For applying this style for the definition XML of test cases, please add below statement before the root element of XML (the tag "test_definition"). - - - - as below: - - - - - -For applying this style for the test-result XML, please add below statement before the root element of XML (the tag "test_definition"). - - -as below: - - - - - -=== Deploy XSLT and CSS style === - -For our test package, below 3 files should be added in each test package. - - tests.css - testresult.xsl - testcase.xsl - -For instance, add them under the test package "webapi-tizen-alarm-tests". - ©¸©¤webapi-tizen-alarm-tests - ©¸©¤... - ©¸©¤... - ©¸tests.css - ©¸testresult.xsl - ©¸testcase.xsl - ©¸tests.xml - ©¸... -- 2.7.4