Gwenio / vscode-ava-test-adapter

AVA Test Adapter for VSCode Test Explorer.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Versions <= 0.3.2 are incompatible with AVA 2.4.0

Gwenio opened this issue · comments

Summary

A change in the transition from AVA 2.3.0 to 2.4.0 rendered the latter incompatible with version 0.3.2 and below of the extension.

Symptoms

The issue causes attempts to enumerate the tests associated with configurations to silently fail.
This will result in an entry in the Test Explorer UI for the configuration file with no associated test files or test cases.

Fix

The issue will be fixed in the next patch (0.3.3), once all the current changes have been tested.
Until then to use the extension with your project(s), please use AVA <= 2.3.0.

Source

The breaking change came in AVA commit 03c1509377.
The introduction of nonSemVerExtirements added a new required option that needs to be passed to API.run().
As this option did not previously exist, the extension is not passing it resulting in an error.

Version 0.3.3 is out and fixes the issue.