-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add test harness for frontend components #197
Comments
Setup configuration for Jest/Enzyme testing - Add `tests` directory - Add `testSetup.js` Adaptor and `Footer-test.js` to validate test harness setup Resolves: N/a See also: #197
Modify display of shallow copy of <Footer> and example `expect` to work correctly - This is a prerequisite before we start adding real tests Resolves: N/a See also: #197
What follows is commentary and a proposal for how we should approach testing in the FE. I firmly believe we should spend a few minutes on this as a team to agree on a direction. Not because we need "group think", but because testing touches us all and is important both as a way to develop faster and to generate a higher quality product. Before continuing, take the time to listen to Javascript Jabber #341. It's FE/BE agnostic and contains a huge amount of practical advice on how to approach testing. Seriously. I mean it. Vamp I'm talking to you. To keep this short the guidelines for our approach should be:
Additional references:
Fini. |
Add prototype code for Footer component tests (IN-PROGRESS) - This is a work in-progress. Unfinished Resolves: N/a See also: #197
Add Footer component unit tests - These are included as examples of how to traverse the DOM in the validation process Resolves: N/a See also: #197
Add a test harness utilizing the Jest and Enzyme packages for use by frontend components.
The text was updated successfully, but these errors were encountered: