On 28 April 2010 12:30, Avdhesh Yadav <[email protected]> wrote: > > Updated to Dojo 1.4.2 > thanks Avidash,
I'm now integrating HtmlUnit with PhotArk. but when I'm doing so I encountered this problem.. For the HtmlUnit test to pass we should first start the server before testing. Otherwise the test case fails saying that it couldn't connect to the server. the problem is, when automating HtmlUnit testing we cant always start the server and if we don't start the server the build will be failing. here we cannot use maven.skip.test=true or smiler alternatives because they will skip all the tests. Therefore I'm suggesting the to rename these htmlunit test cases as XXXXTestBrwser by renaming these the maven-surefire-plugin wont test these test cases. this is because we have defined test as <include>**/*TestCase.java</include> and it we want to test these HtmlUnit test cases we can start the server and run mvn -Dtest=*TestBrwser test which will only run the test cases wish ends with TestBrwser.java Please give your suggesting and let me know whether I'm implementing this in the correct way ? Regards Suho > -- > Avdhesh Yadav > http://www.avdheshyadav.com > > On Wed, Apr 28, 2010 at 2:21 AM, Luciano Resende <[email protected] >wrote: > > > On Tue, Apr 27, 2010 at 12:52 PM, Suhothayan Sriskandarajah > > <[email protected]> wrote: > > > On 28 April 2010 01:07, Luciano Resende <[email protected]> wrote: > > > > > >> On Tue, Apr 27, 2010 at 12:18 PM, Suhothayan Sriskandarajah > > >> <[email protected]> wrote: > > >> > But in the practical scenario i didn't get any error for IE > > >> > > > >> > > > >> > > >> What do you mean by that ? I don't remember when was the last time I > > >> used IE :) LOL > > >> > > > > > > me too :) > > > What I meant is that when i was testing these test cases, the test for > > IE8 > > > failed! (Htmlunit 2.7 and dojo 1.3.2. ) > > > but when i was actually running PhotArk (in Window and )on IE8, it worked > > > fine and there were no errors. > > > > > > let me know if there are any improvements to be done on these test cases. > > > I'll try to fix them. > > > > > > Regards > > > suho > > > > > > > Got it, I'll get dojo update later today. > > > > -- > > Luciano Resende > > http://people.apache.org/~lresende <http://people.apache.org/%7Elresende > > > http://twitter.com/lresende1975 > > http://lresende.blogspot.com/ > >
