[Sugar-devel] HTML Sugar: Unit testing research

Manuel Quiñones manuq at laptop.org
Tue May 21 07:26:33 EDT 2013


2013/5/21 Daniel Narvaez <dwnarvaez at gmail.com>:
> On 21 May 2013 01:47, Manuel Quiñones <manuq at laptop.org> wrote:
>>
>> So if we were to follow fashion, Mocha would be the one :P .  But I
>> think the simplistic approach of Jasmine is good enough for us,
>> specially considering the involvement of new devs.  Jasmine is a bit
>> more readable and elegant too.  The only thing we should consider is
>> the async support, if we can go with Jasmine one, or if we need Mocha
>> one.
>>
>> http://pivotal.github.io/jasmine/#section-Asynchronous_Support
>
>
> We should run into async code tests pretty soon, let's see how good/bad it
> is to write them in Jasmine. If we can I'd rather stick with the simpler
> framework, but async tests are probably going to be pretty important, so
> this is something we need to keep an eye on.

Agreed.  Async tests will be important for us.

--
.. manuq ..


More information about the Sugar-devel mailing list