Comments (5)
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. - seepytest.ini
)
from pyfvtool.
pytest
is now functional (#22 )
See comments in pytest.ini
for indications on setting up testing environment.
from pyfvtool.
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.
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.
To do:
- define a task list for finishing the set-up of automated testing
from pyfvtool.
Related Issues (14)
- Terms for SphericalGrid1D not implemented
- Moving PyFVTool to an organization HOT 10
- Minimal version number for scipy HOT 3
- Labeling of coordinates in cylindrical (and spherical) meshes HOT 9
- 'test_benchmark_1d.py' fails HOT 2
- more logical name for InternalCells() method HOT 1
- Calling external sparse direct solvers HOT 5
- Deprecation warnings from numpy 1.26.2 HOT 5
- Standardize pyfvtool imports on the user side HOT 2
- Installation error due to the existence of both setup.py and pyproject.toml HOT 4
- `CellVariable.BC2GhostCells()` and `CellVariable.bc_to_ghost()`
- Store the boundary conditions as a property of a cell variable HOT 8
- How to implement the TVD scheme correctly? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyfvtool.