Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find and add relevant test suites to the project #17

Closed
Tracked by #16
oleiade opened this issue Nov 2, 2022 · 1 comment
Closed
Tracked by #16

Find and add relevant test suites to the project #17

oleiade opened this issue Nov 2, 2022 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@oleiade
Copy link
Member

oleiade commented Nov 2, 2022

With EcmaScript, and with languages APIs, often come test suites to assert compliance. Either the maintainers of the Web Crypto specification or third parties, very likely define/offer a test suite for the specification. If such a test suite exists, we should try to incorporate it in this extension to maximize our compliance and safety.

@codebien pointed out this specific test suite which might be worth investigating as a first step: https://github.com/web-platform-tests/wpt/tree/master/WebCryptoAPI

@oleiade oleiade added documentation Improvements or additions to documentation enhancement New feature or request labels Nov 2, 2022
@oleiade oleiade self-assigned this Nov 2, 2022
@oleiade
Copy link
Member Author

oleiade commented Nov 3, 2022

Turns out the test suite pointed out in the description is pretty extensive, but was designed to run in a browser. We should therefore somehow either find a way to automatically download, and wrap the test scripts in a way that k6 can interpret, or copy those tests in our repo, and adjust them accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant