Comments (7)
After trying to setup mocha and chai for two days, I concluded that it would be easier to use the already installed testing module AVA. The two main reasons are that:
1- It would be more time efficient since AVA is already set-up and there are examples on MERN
2- It would be less heavy on the server
from teamstudy.
Also test /me
and /logout
endpoints
from teamstudy.
Not goal of the current sprint.
from teamstudy.
@pbgnz why is this no longer a goal? We require tests in order to close user stories.
from teamstudy.
@jacobrs the back-end is being tested using other tools at the moment. I wanted to prioritize the chat for this spring. So, me and Phil decided to meet this Friday after the tutorial and finish all the back-end tasks.
So if everything goes according to plan, I will be working on finishing the tests by next week or so. Before the list increases lol.
from teamstudy.
This will be done this sprint. Phil can write the tests for his endpoints in this issue.
from teamstudy.
Cannot "mock" login for testing. Therefore, cannot test the authenticated endpoints.
from teamstudy.
Related Issues (20)
- AT: Increase Test Coverage HOT 1
- USERSTORY: Prevent page refresh on registration and redirect to home page
- AGILE: Create the bloc Diagram for the Architecture
- AGILE: Create backlog for sprint 4 and burndown of sprint 3
- USERSTORY: Study Group must be assigned to user when created HOT 1
- AT: Write Manual Acceptance Tests for For all UserStories in Sprint 4 HOT 4
- Generate Burndown chart for Sprint 4
- BUG: Server crash after updating user
- BUG: User can enter invalid studentID
- AT: Write Tests for Session Authentication HOT 2
- USERSTORY: Add a user to a study group HOT 3
- AT: Write Manual Acceptance Tests for For all UserStories in Sprint 5 HOT 1
- BUG: After creating a study group, redirect to profile page HOT 1
- USERSTORY: Add Member HOT 3
- USERSTORY: New UI Kit
- USERSTORY: Refresh on study group creation
- AGILE: Do burndown chart
- Implement Scroll to bottom on Chats
- Prepare presentation
- Write the documentation HOT 2
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 teamstudy.