Document Tests
Make it part of your automation routine to take advantage of the description fields in PTF tests and test cases as often as possible. PTF test and test case names tend to be short and abstract, so longer descriptions will help you and future testers understand the functional purpose of available PTF tests and test data.
You can find description fields in:
-
Test description.
-
Test properties.
-
Test case description.
-
Test case properties.
-
Step information.
Use the Log actions to make your tests self-documenting. For instance, you can add a Log.Message before a Test.Exec step to describe the test you are calling, and you can put a Log.Message in the called test to document what the test does.
You can add comments in RTF format to the test, test case, and steps to document your tests. Comments can include application snapshots.