ISISComputingGroup / lewis-ess

Let's write intricate simulators!
GNU General Public License v3.0
21 stars 19 forks source link

Switch from nose to pytest as test runner #249

Closed MichaelWedel closed 7 years ago

MichaelWedel commented 7 years ago

After some reading (and listening) I decided to give pytest a try as a replacement for nose. It worked well with the tests we currently have and looks like supporting #126 might be easier with pytest.

Given that we're only using nosetests as a test-runner to actually execute the tests written in unittest, and even the documentation states that "New projects should consider using Nose2, py.test, or just plain unittest/unittest2", I think this is a viable alternative.