Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Tests... create a lot of tests

Open engelgabriel opened this issue 11 years ago • 9 comments

See http://www.meteortesting.com/

engelgabriel avatar Jul 15 '15 23:07 engelgabriel

I think so too ;)

SamHatoum avatar Sep 25 '15 23:09 SamHatoum

@samhatoum YES! We need your help!! :)

engelgabriel avatar Sep 26 '15 00:09 engelgabriel

Label contrib:experts needed = @samhatoum :+1:

engelgabriel avatar Sep 26 '15 00:09 engelgabriel

Is there a framework we can start using to write some tests? Even if we started per package it'd be a huge improvement.

@RocketChat/owners

geekgonecrazy avatar Oct 06 '15 02:10 geekgonecrazy

you will want to use Jasmine for package testing

https://velocity.readme.io/docs/jasmine-testing-a-meteor-package

SamHatoum avatar Oct 06 '15 02:10 SamHatoum

@samhatoum awesome! Thanks for the quick response!

I've seen jasmine but not used it. Looks pretty straightforward.

Any tips on creating tests?

I'd like to start pushing more tests so we can get the habit started now. Code base is growing at a very rapid pace :smile:

geekgonecrazy avatar Oct 06 '15 04:10 geekgonecrazy

Related to #1044

gmsecrieru avatar Oct 08 '15 15:10 gmsecrieru

#1160 my small contrib :)

kakawait avatar Oct 21 '15 08:10 kakawait

Closing the discussion in favor of #1045.

marceloschmidt avatar Nov 11 '15 13:11 marceloschmidt