lukeed / lukeed/uvu

Should `suite.run()` return a promise for the test results?

Open
#38 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
3k
Forks
101
PR merge metrics
No merged PRs in 30d

Description

So I am bundling my test suite using rollup to run it in the browser and since v0.3.1 that works lik a treat.

However, I don’t know how to read back the test results (which tests passed, which tests failed etc). I’m trying to read all of that back via pptr. It would make sense (to me, at least) that `test.run()` returns a promise for some sort of result data structure.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the suite.run() and test.run() entry points and inspecting how test outcomes are currently reported, including in browser bundles. Define the result data structure and promise behavior, then verify that callers can read which tests passed or failed when the suite runs through Rollup and a browser.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
testing-qa
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.