Giter Club home page Giter Club logo

Comments (7)

pbgnz avatar pbgnz commented on June 19, 2024

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.

jacobrs avatar jacobrs commented on June 19, 2024

Also test /me and /logout endpoints

from teamstudy.

pbgnz avatar pbgnz commented on June 19, 2024

Not goal of the current sprint.

from teamstudy.

jacobrs avatar jacobrs commented on June 19, 2024

@pbgnz why is this no longer a goal? We require tests in order to close user stories.

from teamstudy.

pbgnz avatar pbgnz commented on June 19, 2024

@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.

pbgnz avatar pbgnz commented on June 19, 2024

This will be done this sprint. Phil can write the tests for his endpoints in this issue.

from teamstudy.

pbgnz avatar pbgnz commented on June 19, 2024

Cannot "mock" login for testing. Therefore, cannot test the authenticated endpoints.

from teamstudy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.