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

How do I test that? #14

Open
nosamanuel opened this issue Dec 7, 2016 · 1 comment
Open

How do I test that? #14

nosamanuel opened this issue Dec 7, 2016 · 1 comment

Comments

@nosamanuel
Copy link

nosamanuel commented Dec 7, 2016

Let's look at some common testing patterns from an Aviator project and the tools we use to test them effectively.

Patterns:

  • Purely functional components
  • Stateful components with Fluxible stores
  • Setting up a DOM to test component lifecycles
  • Action dispatch
  • Library helpers
  • Integration testing of Hapi routes
  • etc.

Tools:

  • Enzyme with chai-enzyme
  • Sinon spies and mocks
  • proxyquire
  • mock-browser
  • Coverage with nyc

Stretch:

  • CSS regression testing with Backstop
@nosamanuel
Copy link
Author

Also, meta-approaches: how to develop each of the methodologies here?

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