You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk> on 2008/02/13 15:35:14 UTC
good way to test javascript?
Hi
I just wanted to hear if there a a good framework for testing javascript
out there? I know selenium thats probably the best, but is there
anything a little more light weight(something that could run with out
opening browsers and maybe just parse the js and see if it's okay)? I
dont know if I am asking about the impossible, but I'd feel stupid if
there was something and i didnt know about it..
--
Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684
Re: good way to test javascript?
Posted by David Bernard <da...@gmail.com>.
Nino Saturnino Martinez Vazquez Wael wrote:
> Hmm, im wondering if we could get a solution that would be integratable
> with wicket tester...? With rhino or jslint?
>
> And yes I need to checkout your plugin! It seems to be cool:)
> It's both css and js compression/obfuscation right?
right, both
/davidB
>
> regards Nino
> David Bernard wrote:
>> Hi,
>>
>> For functionnal test : I used jwebunit (no need to have a web browser,
>> I like the client (like WicketTester))
>> For testing validity of js : I use Rhino (check parsing) and jslint,
>> there is several maven plugin to do the job.
>> As the author of yuicompressor-maven-plugin (I used it for both, you
>> could disable compression/ofuscation => only parsing by Rhino)
>> On the site of yuicompressor-maven-plugin, there is link to other
>> solution/competitor.
>>
>> http://alchim.sf.net/yuicompressor-maven-plugin
>>
>> /davidB
>>
>> Nino Saturnino Martinez Vazquez Wael wrote:
>>> Hi
>>>
>>> I just wanted to hear if there a a good framework for testing
>>> javascript out there? I know selenium thats probably the best, but is
>>> there anything a little more light weight(something that could run
>>> with out opening browsers and maybe just parse the js and see if it's
>>> okay)? I dont know if I am asking about the impossible, but I'd feel
>>> stupid if there was something and i didnt know about it..
>>>
>>
>>
>
Re: good way to test javascript?
Posted by Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk>.
Hmm, im wondering if we could get a solution that would be integratable
with wicket tester...? With rhino or jslint?
And yes I need to checkout your plugin! It seems to be cool:)
It's both css and js compression/obfuscation right?
regards Nino
David Bernard wrote:
> Hi,
>
> For functionnal test : I used jwebunit (no need to have a web browser,
> I like the client (like WicketTester))
> For testing validity of js : I use Rhino (check parsing) and jslint,
> there is several maven plugin to do the job.
> As the author of yuicompressor-maven-plugin (I used it for both, you
> could disable compression/ofuscation => only parsing by Rhino)
> On the site of yuicompressor-maven-plugin, there is link to other
> solution/competitor.
>
> http://alchim.sf.net/yuicompressor-maven-plugin
>
> /davidB
>
> Nino Saturnino Martinez Vazquez Wael wrote:
>> Hi
>>
>> I just wanted to hear if there a a good framework for testing
>> javascript out there? I know selenium thats probably the best, but is
>> there anything a little more light weight(something that could run
>> with out opening browsers and maybe just parse the js and see if it's
>> okay)? I dont know if I am asking about the impossible, but I'd feel
>> stupid if there was something and i didnt know about it..
>>
>
>
--
Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684
Re: good way to test javascript?
Posted by David Bernard <da...@gmail.com>.
Hi,
For functionnal test : I used jwebunit (no need to have a web browser, I like the client (like WicketTester))
For testing validity of js : I use Rhino (check parsing) and jslint, there is several maven plugin to do the job.
As the author of yuicompressor-maven-plugin (I used it for both, you could disable compression/ofuscation => only parsing by Rhino)
On the site of yuicompressor-maven-plugin, there is link to other solution/competitor.
http://alchim.sf.net/yuicompressor-maven-plugin
/davidB
Nino Saturnino Martinez Vazquez Wael wrote:
> Hi
>
> I just wanted to hear if there a a good framework for testing javascript
> out there? I know selenium thats probably the best, but is there
> anything a little more light weight(something that could run with out
> opening browsers and maybe just parse the js and see if it's okay)? I
> dont know if I am asking about the impossible, but I'd feel stupid if
> there was something and i didnt know about it..
>