question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Share a common Reporter interface?

See original GitHub issue

We on the QUnit team have been discussing the possibility of working with other JS test frameworks, especially those that can be run client-side (e.g. Mocha, Jasmine, Intern, Buster, etc. — and apparently NodeUnit! 😲), to agree upon a common Reporter interface so that we could hopefully share Reporter plugins between testing frameworks.

This would most likely come in the form of:

  • a common Reporter API/Interface, e.g.
    • an EventEmitter interface (.on(...)/.off(...)) OR an object with standard “hook” properties
    • maybe a standard-ish way to register a Reporter, e.g. MyLib.addReporter(x), MyLib.reporter = x;, etc.
  • a minimum viable set of standardly-named events
    • an associated standard set of data/details provided for each event
  • a minimum viable set of standard test status types (e.g. pass, fail, skip, todo, pending, etc.)
  • updating all participating test frameworks to support this new common Reporter interface

Would you guys be interested in discussing this further with us? If so, please let me know who I should invite to participate.

Centralized Discussions: https://github.com/js-reporters/js-reporters/issues/

Cross-reference issues:

Issue Analytics

  • State:open
  • Created 9 years ago
  • Reactions:1
  • Comments:7

github_iconTop GitHub Comments

1reaction
mreinsteincommented, Oct 1, 2017

I can’t find any mention of assertion counting support in the tap documentation

@dossy I think you’re looking for this: http://www.node-tap.org/api/#tplannumber

0reactions
dossycommented, Oct 2, 2017

FYI, for anyone who stumbles upon this issue in the future, looking for nodeunit support in browserstack-runner, see my PR: Add support for nodeunit. PR#188.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Share a common Reporter interface? · Issue #313 · vowsjs/vows
We on the QUnit team have been discussing the possibility of working with other JS test frameworks, especially those that can be run ......
Read more >
User interface options - IBM
Use the Tivoli Common Reporting web user interface for specifying report parameters and other report properties, generating formatted reports, scheduling ...
Read more >
How to Use Kafka Connect - Getting Started
Each connector in a Connect cluster shares the same consumer group. Using Kafka Broker Default Topic Settings¶. The Connect worker can create internal...
Read more >
Instant reporting - Display & Video 360 Help - Google Help
Instant reporting is great for quick performance checks, ad-hoc reports, and routine analysis of common dimensions and metrics. Instant reports can be ...
Read more >
Enterprise Reporter Suite - Quest Software
shares, folders, files and Microsoft. SQL Server databases? ... prise Reporter user interface to remove ... Common reporting portal — Export.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found