defunctzombie / zuul

[UNMAINTAINED] multi-framework javascript browser testing
958 stars 87 forks source link

Use different reporter for tape #229

Open saulshanabrook opened 9 years ago

saulshanabrook commented 9 years ago

Is it possible to use a different reporter for tape? The one on the web doesn't show a whole lot of information ( like when two things aren't equal, what each actually are)

defunctzombie commented 9 years ago

@vvo do you use tape? Maybe you have some thoughts here?

vvo commented 9 years ago

This is a place where I am a little lost. I do use tape and do find that the current output is really not good.

But I do not know any better browser tap reporter.

What we would need to do is parse the tap output like now and do a better job for things like equal or deepEqual.

Most of the time I would use the console to get a somehow better tap output (reporting).

@saulshanabrook Can you show us a bad reporting case and how you would like to see it?

On the console side, I use https://github.com/scottcorgan/tap-spec, veryyyy good cc @scottcorgan

saulshanabrook commented 9 years ago

For example, it was telling me that two things weren't equal, but wasn't showing what either of them actually were then.

I am not using tape anymore currently.

vvo commented 9 years ago

Interesting, what do you use instead?

saulshanabrook commented 9 years ago

I have started using selenium instead, with webdriverio, because I needed more accurate full integration tests then I could get just running javascript in the browser.

scottcorgan commented 9 years ago

This is a GREAT console output plugin for tape and browserify: https://github.com/Jam3/tap-dev-tool.

scottcorgan commented 9 years ago

Also, I don't think it would be hard to port over a something like tap-spec to something like a tap-spec-browser.

vvo commented 9 years ago

require('tap-spec-browser'); would be awesome :dancer: