Provides an automated functional test framework for testing a Rayo server. The Rayo server is instructed to call itself. The purpose is to run assertions not only on the Rayo stanzas, message sequences and behavior, but on the media as well.
- Prism 11 + rayo-server or FreeSWITCH with mod_rayo
- Maven
- Wipe out your Maven repository folder
rm -rf ~/.m2/repository
- Clone and build Moho's trunk:
git clone [email protected]:voxeolabs/moho.git
cd moho
mvn clean install -Dmaven.test.skip=true
- Clone and build Rayo's trunk:
git clone [email protected]:rayo/rayo-server.git
cd rayo-server
mvn clean install -Dmaven.test.skip=true
- Clone Rayo Functional Tests:
git clone [email protected]:rayo/rayo-functional-tests.git
-
Start the rayo server
-
Run all tests, an individual test class or an individual test method
cd rayo-functional-tests
mvn clean test
mvn clean test -Dtest=OutputTest
mvn clean test -Dtest=OutputTest#testOutputCompleteReceived