Yelp / MOE

A global, black box optimization engine for real world metric optimization.
Other
1.31k stars 139 forks source link

[Python] Improve style/usage of pytest and properly adopt their idioms/structures #408

Open suntzu86 opened 9 years ago

suntzu86 commented 9 years ago

This is a tracking ticket. #36 got us into using pytest. Now we should actually adopt its best-practices. I'm going to throw up a few examples now but others should add more as they run across them.

apiref outlines what it can do: http://pytest.org/latest/apiref.html some examples: http://pytest.org/latest/example/index.html common cases: https://github.com/Yelp/MOE/issues/new

Related:

407

409

410

411

suntzu86 commented 9 years ago

http://pytest.org/latest/plugins.html

conftest.py could be a good place for some of these like #407 and #409