Giter Site home page Giter Site logo

Configure and implement Pytest about dazu HOT 6 CLOSED

dazu-io avatar dazu-io commented on August 21, 2024
Configure and implement Pytest

from dazu.

Comments (6)

ralphg6 avatar ralphg6 commented on August 21, 2024 1

codecov

[![codecov](https://codecov.io/gh/ralphg6/david/branch/develop/graph/badge.svg)](https://codecov.io/gh/ralphg6/david)

from dazu.

ralphg6 avatar ralphg6 commented on August 21, 2024 1

I removed codecov integration why Codeclimate already is configurated and he to integrate with the Coverage.py and the integration already was configured.

@arthurTemporim for me, the task 'Add badge of project coverage' was completed by #74.

from dazu.

arthurTemporim avatar arthurTemporim commented on August 21, 2024

After a quick search I guess the best testing tool is pytest
This was the source that I used: PythonTestingToolsTaxonomy

from dazu.

arthurTemporim avatar arthurTemporim commented on August 21, 2024

The pytest organization of this project followed this tutorial:
Good Practices

from dazu.

arthurTemporim avatar arthurTemporim commented on August 21, 2024

To add the test coverage badge to this project is needed an action by the owner @ralphg6.
This project README has the needed steps codecov

  1. Access codecov site and create an account (I made it using my GitHub account) codecov site
  2. Agree with codecov terms
  3. Add David project to codecov list
  4. Use the generated token to link the badge
  5. Add the codecov link to README

I suggest to first make this configuration in test branch and after everything works move it to develop and master.

from dazu.

arthurTemporim avatar arthurTemporim commented on August 21, 2024

Another option is to use this simple and awesome project to generate the badge image:
coverage-badge

After that is just needed to store the badge somewhere in the repository and link it to README.md, some more configurations must be needed in CI tools.

What do you think? 🤔

from dazu.

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.