Comments (3)
Since you didn't divide content upload part, image upload part, and backend interaction part (axios)
you should test all below at once:
(1) when you click submit button, it should call addReviewHandler
(2) it should call postContentHandler
(3) it should call postImageHandler
(4) in postContentHandler, it should call axios.post
(5) by calling axios.post, store get new State successfully
(6) same in postImageHandler.
from swpp2019-team10.
What I said is about coverage, not actual function. and I think unlike component's function, function body calling other function is guaranteed thing without test..
from swpp2019-team10.
It was just my mistake, in test case condition button is disabled
from swpp2019-team10.
Related Issues (20)
- Let's find out the bug and resolve it! HOT 13
- [frontend] About Frontend Implementation
- [frontend][backend] deciding request and response format for Image HOT 1
- [frontend][backend] diagnose symptoms(code style, wrong design, low coverage...) HOT 3
- API Call
- About Calendar API
- [Important] Regarding Backend Review API HOT 1
- [backend] Recommendation feature HOT 4
- [Todo] Until Tomorrow HOT 2
- [New API Needed] About user backend HOT 3
- [sprint] make sprint 4 progress report and sprint 5 backlog HOT 4
- [backend] migration errors keep coming out in travis ci HOT 3
- [sprint] make sprint 5 progress report and sprint 6 backlog HOT 3
- [hotfix] restaurant rating and showing menu name when recommendation
- CSS 오류
- 닉네임 중복 HOT 1
- 구글 맵 연동 HOT 3
- 업로드 했을 때 feed에 자료가 제대로 안 올라오는 것 같습니다 HOT 1
- [Project] 데이터베이스에 데이터를 만드는 방법 HOT 4
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 swpp2019-team10.