Coder Social home page Coder Social logo

Comments (9)

esc avatar esc commented on July 21, 2024 1

The reason I was asking about this, is because I have been working on an integration-testing suite to check clifford against the latest Numba master. This acts as an early warning system for the Numba developers and will allow us to see if we are breaking anything:

https://github.com/numba/numba-integration-testing

If you do add support for running the tests from an installed package do let me know and I'll update that test-suite.

from clifford.

arsenovic avatar arsenovic commented on July 21, 2024

yeah i think its nosetests test/test_clifford.py , there are other tests in there too.

from clifford.

hugohadfield avatar hugohadfield commented on July 21, 2024

huh, I actually have no idea if you can do it from just an installation, I guess we would have to package the tests into the package with our setup.py right? Will have a look into it

from clifford.

arsenovic avatar arsenovic commented on July 21, 2024

woops, my bad, i mislead you. yeah i think you are right hugo.

from clifford.

esc avatar esc commented on July 21, 2024

Yes, this is possible and can make sense. For example, it would allow your users to test the installation and make sure that everything is fine. It might not make sense though, if you need to generated gigabytes of data or if your test suite includes such large data since it would bloat the package. For example, the blosc package has it setup so that you can do:

$ python -c "import blosc; blosc.test()"

And the HPAT package allows for:

python -m hpat.runtests

from clifford.

hugohadfield avatar hugohadfield commented on July 21, 2024

I think this is definitely worthwhile, our tests sometimes take a long time to run but they also have granularity so could be run in chunks, would essentially involve moving our runner test directory into the main package and making a convenience function for it..

from clifford.

esc avatar esc commented on July 21, 2024

Also, this isn't strictly required for the testing, so feel free to close this issue if it's not of interest to you.

from clifford.

hugohadfield avatar hugohadfield commented on July 21, 2024

@esc sorry for the late reply, I got swamped by paper deadlines and moving house etc. I'm really pleased we are part of the integration testing for numba :) and will have a look at moving the test suite into the package (also ensuring all our tests pass..)

from clifford.

eric-wieser avatar eric-wieser commented on July 21, 2024

numba/numba-integration-testing#28 is somewhat relevant here

from clifford.

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.