caolan / caolan/nodeunit

Testling browser TAP reporter

Offen
#201 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
1.9k
Forks
359
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

We need a TAP reporter that runs in the browser to use nodeunit on [Testling](https://ci.testling.com/). I'm happy to whip one up, but I'm not sure where it belongs.

Options:
1. [karma-nodeunit](https://github.com/karma-runner/karma-nodeunit) is a separate repo. I could do the same for a TAP browser reporter. This direction feels a little funny because it's a generally useful reporter, like the [existing server TAP reporter](https://github.com/caolan/nodeunit/blob/master/lib/reporters/tap.js) and it'd be detached from nodeunit development. karma-nodeunit has the browser nodeunit build [committed](https://github.com/karma-runner/karma-nodeunit/blob/master/lib/nodeunit.js) in its source, which is a bit smelly.
2. Build it into nodeunit/dist/ with `make browser`. This direction feels funny because it's very much a second class citizen compared to the other reporters. Testling encourages test suites made of browserifiable CommonJS modules. There'd be no easy way to `npm install` and `require()` the reporter.

Thoughts?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.