The Open Lighting Project has moved!
We've launched our new site at www.openlighting.org. This wiki will remain and be updated with more technical information.
We've launched our new site at www.openlighting.org. This wiki will remain and be updated with more technical information.
Difference between revisions of "RDM Responder Testing"
From wiki.openlighting.org
Line 1: | Line 1: | ||
− | As part of the [[Open Lighting Project]] a suite of tests for [[RDM]] responders has been developed. This enables manufacturers to check how well a RDM device conforms to the E1.20 specification. The tests cases are written in Python, and use the [[OLA Open Lighting Architecture]] to communicate with devices. | + | As part of the [[Open Lighting Project]] a suite of tests for [[RDM]] responders has been developed. This enables manufacturers to check how well a RDM device conforms to the E1.20 specification. The tests cases are written in Python, and use the [[OLA| Open Lighting Architecture]] to communicate with devices. |
− | |||
+ | Useful Links: | ||
* [[Responder Testing FAQ]] | * [[Responder Testing FAQ]] | ||
* [[Running the tests]] | * [[Running the tests]] | ||
* [[Writing RDM Responder Tests]] | * [[Writing RDM Responder Tests]] | ||
+ | == Test Categories == | ||
− | + | Tests are grouped according to the sections in the RDM Categories/Parameter ID Defines table in the E1.20 document. There are some extra categories for specific behavior like error conditions and sub device handling. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | == Test States == | |
− | |||
− | |||
− | + | There are four possible result states for a test: | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | There are | ||
; Passed | ; Passed | ||
Line 62: | Line 19: | ||
: The responder failed to reply, or replied with an un-expected result | : The responder failed to reply, or replied with an un-expected result | ||
; Not Run | ; Not Run | ||
− | : This test wasn't run because the responder doesn't support the required functionality | + | : This test wasn't run because the responder doesn't support the required functionality or a previous test failed. |
; Broken | ; Broken | ||
: An internal error occurred, this indicates a programming error or an error with the test rig. | : An internal error occurred, this indicates a programming error or an error with the test rig. | ||
+ | |||
+ | == Log Messages == | ||
+ | |||
+ | ;Warnings | ||
+ | :Warnings indicate behavior that doesn't match the standard, but is unlikely to cause usability issues. Warnings are printed in the summary section of the test output. | ||
+ | ;Advisory Messages | ||
+ | :Advisory messages indicate issues that are not covered by the standard but are likely to cause problems i.e a sensor temperature out side of the stated scale range. |
Revision as of 19:57, 30 January 2011
As part of the Open Lighting Project a suite of tests for RDM responders has been developed. This enables manufacturers to check how well a RDM device conforms to the E1.20 specification. The tests cases are written in Python, and use the Open Lighting Architecture to communicate with devices.
Useful Links:
Test Categories
Tests are grouped according to the sections in the RDM Categories/Parameter ID Defines table in the E1.20 document. There are some extra categories for specific behavior like error conditions and sub device handling.
Test States
There are four possible result states for a test:
- Passed
- The responder replied with the expected result
- Failed
- The responder failed to reply, or replied with an un-expected result
- Not Run
- This test wasn't run because the responder doesn't support the required functionality or a previous test failed.
- Broken
- An internal error occurred, this indicates a programming error or an error with the test rig.
Log Messages
- Warnings
- Warnings indicate behavior that doesn't match the standard, but is unlikely to cause usability issues. Warnings are printed in the summary section of the test output.
- Advisory Messages
- Advisory messages indicate issues that are not covered by the standard but are likely to cause problems i.e a sensor temperature out side of the stated scale range.