Coder Social home page Coder Social logo

Code Coverage for helpers.py about kitabe HOT 32 CLOSED

praful932 avatar praful932 commented on June 15, 2024
Code Coverage for helpers.py

from kitabe.

Comments (32)

noobkid2411 avatar noobkid2411 commented on June 15, 2024 2

Hey,thanks for responding,but I was able to resolve it. Apparantly the system was failing in building wheel for the all-auth dependency. I just reinstalled django and ran it again.I'll ask if I have any more issues. Would try to add a pr for the same soon too and will keep you guys updated till then:)

from kitabe.

Sukriti-sood avatar Sukriti-sood commented on June 15, 2024 1

@Praful932 I want to work on this.

from kitabe.

Mukta-Sawant avatar Mukta-Sawant commented on June 15, 2024

@Praful932 I would like to work on this issue as a part of GSSOC'21.

from kitabe.

Praful932 avatar Praful932 commented on June 15, 2024

@Mukta-Sawant Go ahead!

from kitabe.

maneprajakta avatar maneprajakta commented on June 15, 2024

@Mukta-Sawant are you working on this issue.

from kitabe.

Mukta-Sawant avatar Mukta-Sawant commented on June 15, 2024

@maneprajakta Yes.

from kitabe.

Praful932 avatar Praful932 commented on June 15, 2024

@Mukta-Sawant You could open a draft PR even if it's incomplete so we know it is WIP

from kitabe.

maneprajakta avatar maneprajakta commented on June 15, 2024

@Mukta-Sawant no updates from your side.

from kitabe.

arpit456jain avatar arpit456jain commented on June 15, 2024

@Praful932 sir can you please guide me what's this (code coverge.py) and from where i can learn how to it.

from kitabe.

Praful932 avatar Praful932 commented on June 15, 2024

Sure @arpit456jain, Check out this article on what tests & coverage is. Then check out this article on django testing. Hope this helps.
Ping me if you have more doubts
Just @Praful932 is fine btw :)

from kitabe.

ayushjha952 avatar ayushjha952 commented on June 15, 2024

@Praful932 I want to contribute for this issue but I am not getting how to write unittest for methods present in helpers.py
can you help me with this?

from kitabe.

Praful932 avatar Praful932 commented on June 15, 2024

Hi @ayushjha952, for each function which isn't currently covered by tests you need to write tests which assert that the intended function returns what is expected

from kitabe.

ayushjha952 avatar ayushjha952 commented on June 15, 2024

@Praful932 I am not getting how to write the test case?

from kitabe.

Praful932 avatar Praful932 commented on June 15, 2024

@Praful932 I am not getting how to write the test case?

You can write it same as how django tests are written here, only difference is to assert the correct return from the function

from kitabe.

ayushjha952 avatar ayushjha952 commented on June 15, 2024

from kitabe.

ayushjha952 avatar ayushjha952 commented on June 15, 2024

@Praful932 Do we have make any separate class or write in one of class provided in tests.py

from kitabe.

Praful932 avatar Praful932 commented on June 15, 2024

@Praful932 Do we have make any separate class or write in one of class provided in tests.py

Separate. Although you can combine all one-liner functions/similar functions into one class.
Do you want to be assigned to this issue?

from kitabe.

maneprajakta avatar maneprajakta commented on June 15, 2024

@Sukriti-sood Go for it, read once Starter Guide it will help in contributing to the project.

from kitabe.

maneprajakta avatar maneprajakta commented on June 15, 2024

@Sukriti-sood you can draft a WIP PR for changes done till now.

from kitabe.

jonathanalvares9009 avatar jonathanalvares9009 commented on June 15, 2024

@maneprajakta can you assign me this issue?

from kitabe.

maneprajakta avatar maneprajakta commented on June 15, 2024

@jonathanalvares9009 Go ahead also once go through Starter Guide.

from kitabe.

maneprajakta avatar maneprajakta commented on June 15, 2024

@jonathanalvares9009 any updates?

from kitabe.

noobkid2411 avatar noobkid2411 commented on June 15, 2024

Hi,I would like to work on this issue,could you assign me the same!

from kitabe.

Praful932 avatar Praful932 commented on June 15, 2024

Sure go ahead @noobkid2411, do checkout the Guide :)

from kitabe.

noobkid2411 avatar noobkid2411 commented on June 15, 2024

Hey,I tried generating the results before adding code to helpers.py but the execution shows an error,
Module not found:no module named allauth and further goes on to say coverage.py warning no data collected. Can I get some help in figuring out what is the issue,I have never faced this issue before so would like some insights on the same!

from kitabe.

maneprajakta avatar maneprajakta commented on June 15, 2024

@noobkid2411 did you set up the env and installed all requirements.

from kitabe.

Praful932 avatar Praful932 commented on June 15, 2024

@noobkid2411 Could you add the ss

from kitabe.

noobkid2411 avatar noobkid2411 commented on June 15, 2024

Hey,unfortunately I have a health emergency in my family to deal with.Iwould still like to contribute but I might not be able to make a pr before the 20th.If this is an urgent work,you can unassign me,sorry for the inconvenience from my side.

from kitabe.

subhangi2731 avatar subhangi2731 commented on June 15, 2024

@Praful932 please assign me this I want to work on this

from kitabe.

maneprajakta avatar maneprajakta commented on June 15, 2024

@subhangi2731 you can take this up!

from kitabe.

maneprajakta avatar maneprajakta commented on June 15, 2024

@subhangi2731 any updates!

from kitabe.

Praful932 avatar Praful932 commented on June 15, 2024

Not prioritized right now

from kitabe.

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.