Git Product home page Git Product logo

Comments (5)

mhvwerts avatar mhvwerts commented on June 20, 2024 1

To do:

  • fix existing tests such that pytest completes without failures
  • check that pytest sees all currently available tests (explicit tests, but also implicit tests)
  • add a mechanism for obtaining benchmarking test results from the example scripts
  • add additional tests to increase coverage
  • add testing instructions to documentation (installing pytest, pytest_notebook etc. - see pytest.ini)

from pyfvtool.

mhvwerts avatar mhvwerts commented on June 20, 2024 1

pytest is now functional (#22 )

See comments in pytest.ini for indications on setting up testing environment.

from pyfvtool.

simulkade avatar simulkade commented on June 20, 2024

It's a good idea @mhvwerts. Let me do some reading on pytest first. I did consider writing tests but got occupied with other stuff. Now that I'm switching to PyFVTool for some other projects, it must be easier to spend some time on it. I know that the current validation tests are working fine with unittest, but I'm not sure whether it is the most efficient way of managing tests. I'll do some research and experiments and come back to you.

from pyfvtool.

mhvwerts avatar mhvwerts commented on June 20, 2024

I did notice the tests folder, but did not try to run unittest. Apparently pytest will run unittest tests 'out-of-the-box': https://docs.pytest.org/en/7.4.x/how-to/unittest.html

I did some initial experimentation with pytest-notebook alone, without integrating it with a pytest. It seems to work, but I will need to get back to it later.

from pyfvtool.

mhvwerts avatar mhvwerts commented on June 20, 2024

To do:

  • define a task list for finishing the set-up of automated testing

from pyfvtool.

Related Issues (14)

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.