Git Product home page Git Product logo

Comments (4)

TomDonoghue avatar TomDonoghue commented on June 8, 2024 1

Somewhat related: it might be worth adding a note somewhere on the requirements for running the tests locally. As well as the standard of needing pytest, when trying to run the tests I got an error that fixture 'qtbot' not found, which I tracked to being because pytest-qt is also required to run the tests. This isn't clearly noted anywhere.

Somewhere, I would add a note of test-requirements, and maybe some instructions on running tests locally (this is perhaps most relevant in a contributor guide, as you would likely want contributors to run and check tests.

As a note, I was able to run tests locally. I'm not sure of the coverage (adding that is a good idea), though the GUI tests looked (in terms of how many things popped up) fairly comprehensive.

from biopeaks.

JanCBrammer avatar JanCBrammer commented on June 8, 2024 1

it might be worth adding a note somewhere on the requirements for running the tests locally

@TomDonoghue, I've included testing instructions in the contributor guide (see 6685c6e).

from biopeaks.

JanCBrammer avatar JanCBrammer commented on June 8, 2024

It would be great to add a tool that measures what proportion of your code is actually covered by the tests.

@sappelhoff, I now collect and report code coverage. However, the coverage is deceptively low (59%) since pytest-cov does not seem to pick up on code that is run within threads (see here). Looking into it.

from biopeaks.

JanCBrammer avatar JanCBrammer commented on June 8, 2024

Closing and transfering to #21, since original issue has been addressed.

from biopeaks.

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.