Tzach
Tzach

Reputation: 13376

Running pytest in-process

Is it possible to run pytest in-process instead of in the command line?

This exists on nosetests: import nose; nose.run(...)

Upvotes: 0

Views: 109

Answers (1)

Nils Werner
Nils Werner

Reputation: 36719

With Pytest 2.0 you can:

import pytest
pytest.main()

Upvotes: 1

Related Questions