0.1.1-unstable.15 • Published 4 years ago
@transmute/did-core-tests v0.1.1-unstable.15
@transmute/did-core-tests
This module provides did method agnostic tests for did-core.
Generate JSON Test Cases
Click on the "Collapse Sidebar" arrow (left arrow at bottom left of screen).
Click on "ReqList" button at top-right of screen. The list is generated from the spec text.
Copy this script into developer console:
console.log(
JSON.stringify(
Array.from(document.querySelectorAll('.reqlist > li')).map(
(li) => li.textContent
)
)
);
Save the file to __fixtures__
Generate Test Files
npm run build
Implement the tests
Copy files from __generated__
to __tests__
.
You may need to break down test cases... if its been a long time since the tests were generated... you may need to manually review the differences in __generated__
, and make substantial adjustments as spec text changes.
Run Tests
npm run test
0.1.1-unstable.14
4 years ago
0.1.1-unstable.15
4 years ago
0.1.1-unstable.12
4 years ago
0.1.1-unstable.13
4 years ago
0.1.1-unstable.10
4 years ago
0.1.1-unstable.11
4 years ago
0.1.1-unstable.9
4 years ago
0.1.1-unstable.8
4 years ago
0.1.1-unstable.7
4 years ago
0.1.1-unstable.6
4 years ago
0.1.1-unstable.5
4 years ago