qunit icon indicating copy to clipboard operation
qunit copied to clipboard

🔮 An easy-to-use JavaScript unit testing framework.

Results 86 qunit issues
Sort by recently updated
recently updated
newest added

## Description This is a pull request for #947 that I have been tinkering with for a bit now. I think it still has a bit to go, but I...

Ref https://github.com/qunitjs/qunit/issues/1600. For the QUnit version 3.0 release. I'd have moved the tests for this into `test/main/modules.js` but I am not able to use async/await syntax nor promises in that...

The before and after hooks run once per module as long as there is at least one test in the module. Using environment inheritance allows us to use the module...

What this does Currently each testId is calculated as each test is executed. Config.testIds pre-hashes all the loaded tests on demand and returns all testIds. How is this helpful Currently...

Previously, given the following: ```js class Foo { constructor(a = 1) { this.a = a; } } Object.defineProperty(Foo.prototype, 'b', { enumerable: true, get() { return new Foo(this.a + 1); }...

Following from https://github.com/qunitjs/qunit/pull/1629, the [ember-cli-memory-leak-detector](https://github.com/steveszc/ember-cli-memory-leak-detector) plugin used `QUnit.done()` to register a final test. This no longer works as of https://github.com/qunitjs/qunit/pull/1629. In that PR, I stated that this was already unreliable...

Type: Meta
Component: Core

* **QUnit version**: 2.18.2 * **Which environment are you using?**: Node.js * **How are you running QUnit?**: QUnit CLI We have a test case `displays helpful error when failing to...

Type: Enhancement
Component: CLI

# Idea Introduce a new Test Reporter hook (e.g.: `beforeTestEnd`) that is triggered when a test ends but _before_ `after*` hooks are triggered. # Context Recently I found myself trying...

Category: API
Type: Meta
Component: Core

## Tell us about your runtime: * **QUnit version**: 2.18.2 * **Which environment are you using?**: Browser ## What are you trying to do? ## What actually happened?

Component: HTML Reporter
Type: Bug
help welcome
good first issue