0.79.4 • Published 6 months ago
@siteimprove/alfa-test-utils v0.79.4
alfa-test-utils
Utilities for running Alfa locally and uploading results to the Siteimprove Intelligence Platform.
Installation
$ npm install --save-dev @siteimprove/alfa-test-utilsor
$ yarn add --dev @siteimprove/alfa-test-utilsBasic usage
Use scraper packages such as @siteimprove/alfa-playwright to grab a page, then a simple test script could look like this:
import { Audit, Rules, SIP } from "@siteimprove/alfa-test-utils";
Audit.run(page, { rules: { include: Rules.aaFilter } }).then((outcomes) => {
SIP.upload(outcomes, {
userName: process.env.SI_USERNAME,
apiKey: process.env.SI_API_KEY,
testName: "WCAG 2.2 AA conformance test",
}).then(console.log);
});See the full documentation for detailed usage instructions.
0.79.3
6 months ago
0.79.2
7 months ago
0.79.4
6 months ago
0.78.0
8 months ago
0.77.1
9 months ago
0.76.2
11 months ago
0.77.0
9 months ago
0.76.1
11 months ago
0.74.3
12 months ago
0.79.1
7 months ago
0.78.2
8 months ago
0.77.3
9 months ago
0.79.0
8 months ago
0.78.1
8 months ago
0.77.2
9 months ago
0.76.0
11 months ago
0.75.0
11 months ago
0.74.0
1 year ago
0.74.2
1 year ago
0.74.1
1 year ago
0.73.4
1 year ago
0.73.3
1 year ago
0.73.2
1 year ago
0.72.2
1 year ago