Comments (6)
only test critical user journeys (CUJ's) for integration tests:
Most critical user journey: Jackie wants to donate to teacher fund, she goes to website, she donates, jackie leaves and carries on her day.
2nd most critical user journey: Tammy the Teacher wants funds. She goes to the website, logs in to her Teacher account, and requests money and/or supplies via the request portal
from teacherfund_next.
Hi @joelwass just want to know, which testing framework are you going to use? Any guidance on doing integration tests? I write unit tests most of the time, but when it comes to integration tests, I don't know how to implement them in a systematic way.
from teacherfund_next.
Can I write unit tests?
from teacherfund_next.
Yes! I think @stripedpajamas and I need to consider testing frameworks. I'd assume we want to run just integration tests on a headless browser, i don't think there's need for unit tests on our FE.
Thoughts?
from teacherfund_next.
Our front end is a little too in flux right now for unit tests. After #100 #101 and #102 are closed, I think it would be safe to add some Enzyme tests to keep any future code changes from regressing on the design.
In regard to integration tests, for now I think it would be fine for now to implement unit tests around our client side API wrapper with mocks and unit tests around our server side API logic.
The testing frameworks for these unit tests can probably be standard Mocha+Chai, as I think that would be the most accessible. That implementation detail is up to @joelwass
from teacherfund_next.
Fixed ^
from teacherfund_next.
Related Issues (20)
- Make font sizes consistent and in line with design HOT 8
- Using a PageWrapper component to streamline page creation
- Feature Request/Proposal HOT 5
- Styling of Menu (Desktop and Mobile) HOT 4
- Styling of Hero Image (Responsive) HOT 7
- Migrate react-stripe-elements to @stripe/react-stripe-js HOT 4
- No thumbnail image HOT 4
- Cancel donation shows when drawer is open on mobile
- Create kill switch for stripe and magic link api calls so that others can dev locally HOT 2
- Buttons and text overlapping. HOT 8
- Scroll to the Top feature on FAQ page HOT 2
- Change contact page to a form HOT 4
- Change the width of the division HOT 3
- Add button on account page to download tax receipt
- Payment doesnโt change on existing customers
- return error from stripe about failed card info
- scroll-to-top button HOT 2
- Writing code segment on CONTRIBUTING.md HOT 1
- The scrollToTop icon does not come suddenly even if you have sroll the page HOT 2
- PayPal icon isn't available or moved to another file. HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from teacherfund_next.