On Wednesday, June 20, 2012 5:23:36 AM UTC-6, Nicola Peluchetti wrote:
> Yes i'm Italian!I'm using requirejs too, and i found out id that it is
> nearly impossible to use with jsTestDriver, i simply can't get my tests to
> run. It seems like they aren't recognized.
> Did you find out something that works?
> --
> Nicola Peluchetti
> Twitter: @nik_peluchetti <https://twitter.com/#!/nik_peluchetti>
> Facebook: nicola.peluchetti <https://www.facebook.com/nicola.peluchetti>
> Mobile: +39 339 7507235
> On Saturday, 16 June 2012 05:26:38 UTC+2, bernardo wrote:
>> Ciao Nicola,
>> Sei italiano immagino?
>> Found your post looking for ways to get js coverage through jasmine
>> myself.
>> To answer your questions:
>> 1) Jasmine by itself, even with Jasmine-jquery, works great with JTSD,
>> I've experimented myself and it definitely works.
>> 2) If you need a browser environment to load html fixtures (you
>> technically don't, you can use things like env.js) JTSD is even more so the
>> right choice, as it actually does run tests in 'registered' browsers so you
>> get a full browser environment.
>> I wasn't able to get JTSD to work for my specific application because I
>> also use requireJS for AMD loading and it seems to be highly incompatible
>> with JTSD.
>> So the question remains - what other tool could I/we use to collect code
>> coverage in a jasmine environment?
>> Thanks!
>> On Friday, June 8, 2012 9:20:41 AM UTC-6, Nicola Peluchetti wrote:
>>> I've tried using jasmine with jsTestDriver but i couldn't get things
>>> working, this is probably due to the fact that i'm using jasmine-jquery. I
>>> also need a browser environment as i'm using html fixtures and i'm not sure
>>> that works in jsTestDriver.
>>> What other tool could i use to see the code coverage of my tests?
> On Saturday, 16 June 2012 05:26:38 UTC+2, bernardo wrote:
>> Ciao Nicola,
>> Sei italiano immagino?
>> Found your post looking for ways to get js coverage through jasmine
>> myself.
>> To answer your questions:
>> 1) Jasmine by itself, even with Jasmine-jquery, works great with JTSD,
>> I've experimented myself and it definitely works.
>> 2) If you need a browser environment to load html fixtures (you
>> technically don't, you can use things like env.js) JTSD is even more so the
>> right choice, as it actually does run tests in 'registered' browsers so you
>> get a full browser environment.
>> I wasn't able to get JTSD to work for my specific application because I
>> also use requireJS for AMD loading and it seems to be highly incompatible
>> with JTSD.
>> So the question remains - what other tool could I/we use to collect code
>> coverage in a jasmine environment?
>> Thanks!
>> On Friday, June 8, 2012 9:20:41 AM UTC-6, Nicola Peluchetti wrote:
>>> I've tried using jasmine with jsTestDriver but i couldn't get things
>>> working, this is probably due to the fact that i'm using jasmine-jquery. I
>>> also need a browser environment as i'm using html fixtures and i'm not sure
>>> that works in jsTestDriver.
>>> What other tool could i use to see the code coverage of my tests?
> On Saturday, 16 June 2012 05:26:38 UTC+2, bernardo wrote:
>> Ciao Nicola,
>> Sei italiano immagino?
>> Found your post looking for ways to get js coverage through jasmine
>> myself.
>> To answer your questions:
>> 1) Jasmine by itself, even with Jasmine-jquery, works great with JTSD,
>> I've experimented myself and it definitely works.
>> 2) If you need a browser environment to load html fixtures (you
>> technically don't, you can use things like env.js) JTSD is even more so the
>> right choice, as it actually does run tests in 'registered' browsers so you
>> get a full browser environment.
>> I wasn't able to get JTSD to work for my specific application because I
>> also use requireJS for AMD loading and it seems to be highly incompatible
>> with JTSD.
>> So the question remains - what other tool could I/we use to collect code
>> coverage in a jasmine environment?
>> Thanks!
>> On Friday, June 8, 2012 9:20:41 AM UTC-6, Nicola Peluchetti wrote:
>>> I've tried using jasmine with jsTestDriver but i couldn't get things
>>> working, this is probably due to the fact that i'm using jasmine-jquery. I
>>> also need a browser environment as i'm using html fixtures and i'm not sure
>>> that works in jsTestDriver.
>>> What other tool could i use to see the code coverage of my tests?