Porting Ideas
Just changing small syntax is not gonna port the tests over to pytest-2. Need to think something bigger changes that really make difference between the two sets of tests. Also, the tests for pytest-2 takes lot more time compared to py.test 1.3.4. It's really not good. This is what I did:
Created a new test file in MoinMoin/_tests for both pytest-2 and py.test 1.3.4. Here is the result of Profiler:
[For pytest-2]
- Content - import pytest
Result - http://paste.pocoo.org/show/396100/
[For py.test 1.3.4]
- Content - import py.test
Result - http://paste.pocoo.org/show/396101/
These differences increases for the bigger tests of MoinMoin. Need to do something for it.
More ideas for porting are required. So, I tried chagelogs of pytest, whats new in pytest-2 etc.