David Saint wrote: > > > ------------------------------------------------------------------------ > *From:* [email protected] > [mailto:[email protected]] *On Behalf Of *Beeton, > Carolyn AVAYA (CAR:9D60) > *Sent:* Monday, January 25, 2010 2:17 PM > *To:* [email protected] > *Subject:* [sipX-dev] sipXconfig developers: is there a sandbox? > > When trying to debug a testcase (say one of the TestUi pages), is > there any way to run just that test, rather than having to wait for > the entire ant precommit thing to finish? On the C++ side, the > projects have a sandbox target which we can set to whichever (small) > list of tests we actually are working on. The official build would > never run that target, but it is very useful when trying to debug a > test. Or is there some other way to run just one test quickly? > > Carolyn > > You can run one UI testcase e.g. AlarmsPageTestUi.java > cd ~/commit/main/sipXconfig/web > ant test-ui -Dtest.name=AlarmsPage > > Or one integration testcase e.g. CoolNewFeatureTestIntegration.java > cd ~/commit/main/sipXconfig/neoconf > ant test-integration -Dtest.name=CoolNewFeature >
You should also be able to run/debug the individual test cases from within eclipse. That's by far the easiest way, and tells you exactly where the exceptions happen. Arjun _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev sipXecs IP PBX -- http://www.sipfoundry.org/
