Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@wholmgren
Copy link
Member

This PR switches pvlib from the nose testing framework to the pytest framework. I needed to learn pytest for another project, so pvlib is my pytest test. After a short learning curve, I've come to like Pytest a lot. Pytest seems much more powerful than nose. Also, nose is no longer maintained.

Another nice thing about pytest is that you can install the pytest-xdist plugin and run your tests in parallel across multiple cpu cores. My 4 core machine runs py.test pvlib in 46 seconds and py.test pvlib -n 4 in 19 seconds. This is more important for local testing since the CI builds are mostly limited by the bandwidth of those services.

I'll let this sit for a few days and then merge if there are no objections.

@wholmgren wholmgren added this to the 0.4.0 milestone Jun 27, 2016
@wholmgren wholmgren merged commit 55954bd into pvlib:master Jul 5, 2016
@wholmgren wholmgren deleted the pytest branch July 5, 2016 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.