Giter VIP home page Giter VIP logo

Comments (4)

JWCook avatar JWCook commented on June 12, 2024 1

@niconoe As of v0.9, there is 87% test coverage, and 95% in the current dev branch (pytest-cov output below). I think it's safe to close this issue.

============================= test session starts ==============================
platform linux -- Python 3.8.2, pytest-5.4.3, py-1.8.1, pluggy-0.13.1
rootdir: /mnt/d/Workspace/pyinaturalist
plugins: cov-2.9.0, requests-mock-1.8.0
collected 56 items

test/test_api_requests.py .......                                        [ 12%]
test/test_helpers.py .......................                             [ 53%]
test/test_pyinaturalist.py ..........................                    [100%]

----------- coverage: platform linux, python 3.8.2-final-0 -----------
Name                            Stmts   Miss  Cover
---------------------------------------------------
pyinaturalist/__init__.py           7      0   100%
pyinaturalist/api_requests.py      20      0   100%
pyinaturalist/constants.py          5      0   100%
pyinaturalist/exceptions.py         4      0   100%
pyinaturalist/helpers.py           46      3    93%
pyinaturalist/node_api.py          62      3    95%
pyinaturalist/rest_api.py          49      4    92%
---------------------------------------------------
TOTAL                             193     10    95%


============================== 56 passed in 3.75s ==============================                                                                                                                                                                                                                
```

from pyinaturalist.

niconoe avatar niconoe commented on June 12, 2024
  • Basis of testing infrastructure (Pytest + requests-mock)
  • Testing of get_access_token()
  • Testing of all other functions
  • Set-up Travis-CI (make sure different versions are tested => also look at tox) ?

from pyinaturalist.

niconoe avatar niconoe commented on June 12, 2024

@peterdesmet: Could you (temporarily at least) configure me as owner/admin of this repo? I need this to configure Travis-CI for continuous integration! thx

from pyinaturalist.

peterdesmet avatar peterdesmet commented on June 12, 2024

Done!

from pyinaturalist.

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.