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

VSCode snippets for integration tests #83

Open
goldbergyoni opened this issue Apr 1, 2021 · 0 comments
Open

VSCode snippets for integration tests #83

goldbergyoni opened this issue Apr 1, 2021 · 0 comments

Comments

@goldbergyoni
Copy link
Contributor

goldbergyoni commented Apr 1, 2021

Idea: Generate snippets with common component tests patterns

  • Test with when-then + AAA
  • nock verify outgoing payload
  • Assert HTTP response
  • Describe with API verbs (/api + describe for POST, GET, DELETE)
  • Randmoize unique value
  • Axios request with token
  • Example of basic test which assert the response
  • Example of basic test which asserts the existing state
  • Example of basic test which asserts outgoing call
  • Others?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant