Driving Node

From TinyOS Wiki
Revision as of 08:42, 10 January 2008 by Dmoss (talk | contribs) (See Also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
The Driving Node is the node that is responsible for running the test.

A Driving Node is the node that gets the command to run() each test. It is notified by the computer to begin testing.

The Driving Node is always ID 0, and is the only node that executes SetUp.run(), TestCase.run(), and TearDown.run().

The Driving Node is always the first node defined in a Test Run in the tunit.xml file. Any other node taking place in a test run is known as a Supporting Node.

See Also