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

Tests #15

Open
eheikes opened this issue Oct 17, 2019 · 4 comments
Open

Tests #15

eheikes opened this issue Oct 17, 2019 · 4 comments
Labels
enhancement New feature or request

Comments

@eheikes
Copy link
Contributor

eheikes commented Oct 17, 2019

Is there a desire to add tests for this project? (I'm specifically thinking about the server package.) If so, what is your preferred testing framework?

@Kmaschta
Copy link
Contributor

Sure! Jest and/or Cypress are the new standards, we'd love a PR with tests :)

@Kmaschta Kmaschta added the enhancement New feature or request label Oct 18, 2019
@pke
Copy link

pke commented Nov 27, 2019

Jest pollutes the global namespace and needs a test runner. I always preferred node-tap or recently zora for the reasons mentioned.

@pke
Copy link

pke commented Dec 9, 2019

Any ideas how this could be tested, especially the client side of things? Is there a way to mock the webauthn API?

@forevermatt
Copy link

The FIDO alliance has testing tools which include a suite for testing FIDO2 (WebAuthn + CTAP), which I learned about in the FAQ for a list of WebAuthn tools/resources. I don't have much experience with them yet, but I'm attempting to learn...

However, those will be along the lines of integration tests, whereas some unit tests (using one of the tools mentioned) could also have definite value.

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

No branches or pull requests

4 participants