Thanks Sergiu~~, it helps a lot
On Sun, May 15, 2011 at 8:24 PM, Sergiu Dumitriu <sergiu(a)xwiki.com> wrote:
  On 05/15/2011 10:28 AM, 许凌志(Jamesxu) wrote:
  I have fix the issue and test it
(actionButton.js) in my local server, 
 and
  following Marius' advice, I have written a
selenium test for it, and the
 test was failed when I do nothing to the source codes, which is what it
 should be. And I want to update the fixed codes to the source codes in
 github, and run the test again to see if the fix pass the test.
 However, I found that the actionButton.js which I have modified is 
 located
  in xwiki-platform, but I run the test under
xwiki-enterprise, what is the
 best practice to  test modified codes of xwiki-platform under
 xwiki-enterprise. 
 Indeed, you will have to split the code and the test in the two
 repositories.
 To make sure that you're running the tests on an instance which contains
 your changes, you should build locally
 xwiki-platform/xwiki-platform-core/xwiki-platform-web/ , then build
 xwiki-enterprise, then extract the standalone zip from
 xwiki-enterprise/xwiki-enterprise-distribution/xe-jetty/xe-jetty-hsqldb/target/,
 and start it.
 If you keep this instance running, tests will use instead of a remote
 build.
 --
 Sergiu Dumitriu
 
http://purl.org/net/sergiu/
 _______________________________________________
 devs mailing list
 devs(a)xwiki.org
 
http://lists.xwiki.org/mailman/listinfo/devs
 
--
Best wishes,
许凌志(Jame Xu)
MOE KLINNS Lab and SKLMS Lab, Xi'an Jiaotong University
Department of Computer Science and Technology, Xi’an Jiaotong University