On Thu, Mar 31, 2011 at 7:37 AM, eststst <sri.narayanan.gce@gmail.com> wrote:
I wanted to make use of the sip servlet test suite of mobicent as the
base testing framework for our sip servlet based application;
Looking at the ShootistSipServletTest , we understood that the suite
provides a simulated JEE environment in a tomcat container.
1 . Is it possible that we write our unit test extending the
SipServletTestCase ?
Yes, it is definitely possible. The community might comment here on who is already using it.
Right now we are using SIPP for our funtional test , which is not
integrated into junit .
But using your SipServletTestCase we can write SIP test cases without
sacrifising the power of Junit
Kindly confirm if this is feasible
Yes and this is how we test some part of the specification that is not covered in the TCK or more functionnal tests etc...
2 .After a checkout of the mobicent code , i executed mvn clean
install -P jboss
But got the following error :
Missing:
----------
1) org.mobicents.ha.javax.sip:mobicents-jain-sip-jboss4:jar:1.1.0-
SNAPSHOT
Mvn clean install , runs successfully though .
you should try mvn clean install -P jboss-5 instead as the jboss profile was for JBoss 4.2.3 which is not supported in the community nor under development anymore.
3.Eclipse import issue
Also importing the http://mobicents.googlecode.com/svn/trunk/servers/sip-servlets
into eclipse I am getting some build errors which is preventing me
executing the SHootist Junit test case
attaching the eclipse problem sheet
It seems you forgot to attach the list of problems.
4.Links to documents
Kindly share pointers to documents relating to the sip servlet test
suite ,Going throught the mobicent site I see some documents on mms ,
but yet to get a complete picture .
We don't big official documents but we have this http://www.mobicents.org/tests.html (it may be outdated though feel free to update us if you run into issues). We figured recently that this would interest the community on creating their own testsuite. But we would like to create a better version of the framework in integrating with Arquillian See Issue http://code.google.com/p/mobicents/issues/detail?id=110
And then we will start creating dedicated documentation on it. Any help or contribution on that is very welcome if you feel like it.
Also we noted some Jboss set up requirement ,is it necessary tohave jboss set up for simple sip servlet unit test.
No currently the testsuite only run on Tomcat as JBoss was not really embeddable until version 6/7 which we don't integrate with yet.