Arquillian Extension forSipServletsArquillian testing framework,
seeks to minimize the burdenon the developer to author integration tests by handling allaspects of test execution, including:● managing the lifecycle of the container (start/stop),● bundling the test class with dependent classes and resources into a deployable archive,● enhancing the test class (e.g., resolving @Inject, @EJB and @Resource injections),● deploying the archive to test (deploy/undeploy) and capturing results and failures.
Arquillian Extension forSipServlets● Finer grained
control over the tests lifecycle and the containers lifecycle● Override container configuration as needed● The integration is completely transparent, which means you can launch the tests and get the test results using existing IDE, Ant and Maven test plugins without any add-ons.
SipUnitSipUnit provides a test environment
gearedtoward unit testing SIP applications.The primary goal of SipUnit is to abstract thedetails of SIP messaging/call handling andfacilitate free-flowing, sequential test code sothat a test target can be exercised quickly andpainlessly
SipUnit features● Maven artifacts● Junit
4 support● TLS support● SIP UAC & UAS● uses the JAIN-SIP reference implementation as its underlying SIP stack/engine● JUnit-like test development and execution environment with SIP-specific assertions added● Different levels of SIP handling abstraction depending on test case needs. If you dont care how a setup call gets established, use the highest level - SipPhone. makeCall().
SipUnit features● Support for registration
and call handling with or without authentication● Support for presence subscription handling (SUBSCRIBE/NOTIFY)● CANCEL handling● Support for MESSAGE● REFER and associated subscription handling● Support for NAT traversal (STUN)● Support for testcase-specified timeouts● A test can act as more than one network element - ie, it can act as both the caller and callee endpoints to test a network element between the two.