the pytest is really awesome. the test code has been really short and reusable than what I write in unittest2.
I usually and a tests-dir output of my src-dir. and I like to do both functional-test and unittest.
I like to put them together. I usually name the unittest with test__.py, which has no problem with py.test.
and I name the functional-test with fts__.py, which cause problem with py.test.
now I can only ran the fts with py.test fts*.py, which only allow run one fts file at once.
when in unittest2, this not hard for me. But I go through the doc and google, still cannot got a good answer.
Did I miss something?
the pytest is really awesome. the test code has been really short and reusable than what I write in unittest2.
I usually and a tests-dir output of my src-dir. and I like to do both functional-test and unittest.
I like to put them together. I usually name the unittest with test__.py, which has no problem with py.test.
and I name the functional-test with fts__.py, which cause problem with py.test.
now I can only ran the fts with py.test fts*.py, which only allow run one fts file at once.
when in unittest2, this not hard for me. But I go through the doc and google, still cannot got a good answer.
Did I miss something?