Reputation: 13376
Is it possible to run pytest in-process instead of in the command line?
This exists on nosetests: import nose; nose.run(...)
import nose; nose.run(...)
Upvotes: 0
Views: 109
Reputation: 36719
With Pytest 2.0 you can:
import pytest pytest.main()
Upvotes: 1