Comments (6)
The testing is a bit minimal but I consider the issue closed until further notice :-)
from pyh5md.
This is a good idea. I am looking at the tests for active_papers_py, would you consider it a good example of what you are thinking for pyh5md?
from pyh5md.
Yes, that's what I'd like to see. You just type "nosetests" in the pyh5md directory and all tests are run. There are of course options to run only parts or do lots of other things, but the nice thing about nose is that writing tests and running all tests are both very simple operations.
from pyh5md.
I have the impression that nosetests relies on test definitions that are fully compliant with the standard library's unittest. Is that correct?
from pyh5md.
It's one-way: nose will happily run tests written for Python's unittest module, but it also has its own much more light-weight test format. Any Python module can be a test suite, with any function inside it whose name starts with 'test_' considered a test. These test functions use plain assert statements for verifying conditions.
from pyh5md.
I added a pytest based test. It is very easy and takes care of temporary directories.
You can have a look at https://github.com/pdebuyl/pyh5md/tree/1.0-dev
from pyh5md.
Related Issues (4)
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 pyh5md.