Re: Question to clear out my picture of Integration test writing.

2008-07-21 Thread Bertrand Delacretaz
Hi Janandith, On Fri, Jul 18, 2008 at 5:58 AM, janandith jayawardena <[EMAIL PROTECTED]> wrote: > ...I'm taking the following approach to write integration tests. > > I want to verify whether it's correct As presented, your question is a bit complex to analyze, could you simplify it? The best

Re: Question to clear out my picture of Integration test writing.

2008-07-18 Thread Alexander Klimetschek
Hmm, shouldn't the selector script be named "bar.html.jsp"? Looks like the script resolution (http://cwiki.apache.org/SLING/url-to-script-resolution.html) could allow bar.jsp for selectors as well, but it would give a conflict if someone would GET a resource/path.bar and IMHO it is clearer. Regard

Question to clear out my picture of Integration test writing.

2008-07-17 Thread janandith jayawardena
hi, I'm taking the following approach to write integration tests. I want to verify whether it's correct. This is how i create nodes and upload scripts. Map props = new HashMap(); rootNodeUrl = testClient.createNode(HTTP_BASE_URL +pathToRoot, null); testTextA = pathToR