testing

Testing tools, testing philosophy & methodology...
ricardo 2015-08-11T05:02:57.000020Z

doo looks interesting. Anyone actually using it?

2015-08-11T08:35:16.000022Z

Hi guys! on doo and the dom.

2015-08-11T08:36:09.000023Z

@nberger: If you wanted you could definitely mount things on the dom if you use the Slimer or Phantom runners. No html needed, doo takes care of that for you

2015-08-11T08:36:26.000024Z

if you need any assistance on setting that up, I'll be happy put out some docs.

2015-08-11T08:38:00.000026Z

@nberger: right now I'm working on karma integration to test on all major browsers

2015-08-11T08:38:34.000027Z

@ricardo: don't hesistate to ask for help to get the basic setup, even if you won't be using doo :simple_smile:

2015-08-11T08:41:05.000028Z

@jindrichm: even if you don't pick doo, look at the scripts. The hard thing about cljs testing is getting all the quircks of the js environments right.

2015-08-11T08:41:58.000029Z

There are some guiding comments on the scripts that show where the dragons are, like "meta charset UTF-8 needed because some libraries like d3 use unicode and not ascii"

2015-08-11T08:42:24.000030Z

or, "patch core async to avoid Slimer security errors"

ricardo 2015-08-11T09:30:02.000031Z

@bensu: Thanks, will look at it more carefully later today.

nberger 2015-08-11T11:38:38.000033Z

@bensu: well, the project I was talking about was from 3 months ago, I don't know if doo was even a baby by that time :)

nberger 2015-08-11T11:41:26.000034Z

@bensu but... I'll take the opportunity to thank you for doo... The other day I used it in the port of test.chuck to cljs and it went like a breeze https://github.com/gfredericks/test.chuck/pull/15/files

2015-08-11T11:53:34.000036Z

@nberger: cool!