0.1.1-unstable.15 • Published 3 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
3 years ago
0.1.1-unstable.15
3 years ago
0.1.1-unstable.12
3 years ago
0.1.1-unstable.13
3 years ago
0.1.1-unstable.10
3 years ago
0.1.1-unstable.11
3 years ago
0.1.1-unstable.9
3 years ago
0.1.1-unstable.8
3 years ago
0.1.1-unstable.7
3 years ago
0.1.1-unstable.6
3 years ago
0.1.1-unstable.5
3 years ago