sprint icon indicating copy to clipboard operation
sprint copied to clipboard

test units / suite?

Open cusspvz opened this issue 10 years ago • 8 comments

I've issued because stability and performance are my top criteria.

cusspvz avatar Apr 23 '15 08:04 cusspvz

+1

haoxins avatar Apr 23 '15 15:04 haoxins

+1

Charca avatar Apr 25 '15 18:04 Charca

I am willing to help with writing unit tests. Is there a consensus for framework of choice?

I would prefer either of the following:

  1. Mocha
  2. Jasmine

All wrapped in Karma

stephnr avatar Apr 25 '15 20:04 stephnr

:+1:

cromulus avatar May 01 '15 16:05 cromulus

As I've stated in #31, we could try to utilise Jest. It's based on Jasmine, but like its website says very painless to use.

kitten avatar May 04 '15 11:05 kitten

Please see #31 for the new branch using the Jest testing framework as proposed by @philplckthun. Thank you for the advice. This was exactly what I needed. Jasmine alone did not provide enough functionality for CLI support. I look forward to seeing everyones contributions :+1:

stephnr avatar May 05 '15 03:05 stephnr

Yep, another :+1: on this. Its a glaring omission when a tool in consideration doesn't ship with a robust test suite.

gmac avatar Jun 02 '15 15:06 gmac

For those who do wish to contribute, the Testing branch can be located here:

https://github.com/Stephn-R/sprint

stephnr avatar Jun 02 '15 15:06 stephnr