Difference between revisions of "Quality Assurance Testing Format"

From Second Life Wiki
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 3: Line 3:
'''[PHYSICSTEST]''' The name of the test.
'''[PHYSICSTEST]''' The name of the test.


'''[http://www.yoururl.com/testname]''' The URL of the test.
'''[URL]''' http://www.yoururl.com/testname The URL of the test.
 
'''[CONTRIBUTION]''' Who / when the test originated (may not be needed in wiki)
 
'''[MODIFICATIONS]''' Who / when modified this test (may not be needed in wiki)
 
'''[TEST GROUP]''' Test Group
 
'''[TAGS]''' Tag1 Tag2 Tag3


'''[VERSION] 0.1''' This is the version number for this test script.
'''[VERSION] 0.1''' This is the version number for this test script.


'''[LENGTH] 00:15''' Time to execute the test. This will be adjusted during Preview as metrics come in.
'''[DURATION] 00:15''' Time to execute the test. This will be adjusted during Preview as metrics come in.


'''[TESTERS] 1''' Number of testers required to run the test.
'''[TESTERS] 1''' Number of testers required to run the test.


'''[*]''' A blank line placeholder - using it is easier than scanning an entire line to see if it is blank.
'''[OVERVIEW / GOAL]''' The overview of the test.


'''[OVERVIEW]''' The overview of the test.
'''[EXPECTED OUTCOME]''' The results that are expected from this test


'''[SETUP]''' Instructions and other requirements for the test.
'''[SETUP]''' Instructions and other requirements for the test.
Line 23: Line 31:
'''[INV]''' Place the name of any inventory items that are needed for the test here. It will be added to your test and rezzed when needed.
'''[INV]''' Place the name of any inventory items that are needed for the test here. It will be added to your test and rezzed when needed.


'''[SCRIPT]''' This is where LSL code will be passed to the resident when needed for a test.
'''[LSL SCRIPT]''' This is where LSL code will be for the test.
 
'''[CASE NAME]''' You'll see this below. Sections within our tests often have headings, which contain the case name. They will be contained in braces as seen here.
 
'''[0010]''' This is a high level test case number.
 
'''[0010.0010]''' This is a sub - case, an immediate child of 0010.
 
===Reserved Words and Symbols===
 
'''[DURATION]'''
 
'''[NOTE]'''
 
'''[OVERVIEW]'''
 
'''[SETUP]'''
 
'''[TESTERS]'''
 
'''[INV]'''
 
'''[SCRIPT]'''
 
'''[*]'''


As long as the case number is enclosed in braces, it can be parsed. In the future we want to support further sub-casing, up to say, 4 levels. Each sub-case level will be able to sustain up to 9999 parts.
'''[CASE NAME]''' The name of the test case


The entire script will be parsed at initialization time, and steps (cases) will be indexed.
'''[REPORT DATA]''' The data that will be included in report output for this test


Here is a sample test script, properly formatted: [[Quality Assurance Example Script]]


Here is a sample test script, properly formatted: [[Quality Assurance Example Script]] [[Sample Automation Test]]


[[Category:QA Portal]]
[[Category:QA Portal]]
[[Category:Quality Assurance]]
[[Category:Quality Assurance]]

Latest revision as of 07:32, 24 March 2008

Test Script Formatting

[PHYSICSTEST] The name of the test.

[URL] http://www.yoururl.com/testname The URL of the test.

[CONTRIBUTION] Who / when the test originated (may not be needed in wiki)

[MODIFICATIONS] Who / when modified this test (may not be needed in wiki)

[TEST GROUP] Test Group

[TAGS] Tag1 Tag2 Tag3

[VERSION] 0.1 This is the version number for this test script.

[DURATION] 00:15 Time to execute the test. This will be adjusted during Preview as metrics come in.

[TESTERS] 1 Number of testers required to run the test.

[OVERVIEW / GOAL] The overview of the test.

[EXPECTED OUTCOME] The results that are expected from this test

[SETUP] Instructions and other requirements for the test.

[TEST DATA] Data for the test.

[NOTE] Any other information related to the test, will be expressed at test time with the step that it follows.

[INV] Place the name of any inventory items that are needed for the test here. It will be added to your test and rezzed when needed.

[LSL SCRIPT] This is where LSL code will be for the test.

[CASE NAME] The name of the test case

[REPORT DATA] The data that will be included in report output for this test


Here is a sample test script, properly formatted: Quality Assurance Example Script Sample Automation Test