OpenDDS examples are found in the examples and DevGuideExamples subdirectories of the DDS directory. The DevGuideExamples directory provides the example code from the OpenDDS Developer's Guide.
Each of the examples has at least one perl script that runs the example code and verifies that the example works. The scripts require no parameters to run but most have an optional parameter for the transport to use. The command to run the example scripts is perl run_test.pl. Replace the run_test.pl with the name of the script you want to run.
The tests subdirectory contains code for testing various functionality of OpenDDS. The code in these tests was usually designed explicitly for testing a limited area of functionality and may not properly implement all the required functionality of a normal running program.
The performance-tests subdirectory contains code for performance testing of various functionality of OpenDDS.