Code Monkey home page Code Monkey logo

Comments (13)

nabhanabdulla avatar nabhanabdulla commented on June 22, 2024

Hi, I would like to add unit tests for the back-end code. Are there any guidelines or should a particular library be used?

from care.

vigneshhari avatar vigneshhari commented on June 22, 2024

No, you are free to use any library,
PS, just ping me on slack if i don't reply here, as i may miss the GitHub notifications

from care.

biswaz avatar biswaz commented on June 22, 2024

@nabhanabdulla
https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/
https://www.django-rest-framework.org/api-guide/testing/

from care.

nabhanabdulla avatar nabhanabdulla commented on June 22, 2024

Ok, got it @vigneshhari

Thanks @biswaz, looking into it

from care.

ja8zyjits avatar ja8zyjits commented on June 22, 2024

@vigneshhari It will be great if we have the slack channel mentioned in the README file.
Easy for new developers to connect.

from care.

vigneshhari avatar vigneshhari commented on June 22, 2024

@ja8zyjits create an issue, take it up and submit a PR :)
( use the slack badge if possible )

from care.

afzalIbnSH avatar afzalIbnSH commented on June 22, 2024

Are you doing this @nabhanabdulla ?

from care.

ja8zyjits avatar ja8zyjits commented on June 22, 2024

from care.

afzalIbnSH avatar afzalIbnSH commented on June 22, 2024

@ja8zyjits I agree. Going ahead and adding tests for facility.

from care.

nabhanabdulla avatar nabhanabdulla commented on June 22, 2024

@afzalIbnSH , No, I am trying to make sense of the project code. I am new to Django and is learning currently.

As @ja8zyjits suggested I think it will be better to take up for different modules. Also, it will be great if you either of you could help me get started.

from care.

vigneshhari avatar vigneshhari commented on June 22, 2024

Create another issue for doing a specific View Testing and Comment that you are doing it

from care.

abhiabhi94 avatar abhiabhi94 commented on June 22, 2024

Shall I start adding tests for the users application?

from care.

vigneshhari avatar vigneshhari commented on June 22, 2024

You can test all the API Views

from care.

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.