PyTest and eclipse - settings

More often people like to run tests using eclipse. If we use pytest and eclipse then here is the setting that helps you in running pytest in eclipse.
Windows->Preferences->PyDev(if you are using)->PyUnit: TestRunner to Py.test runner
once this setting is saved, go to test file and right click and run as the unit test or Ctrl + F9 will do the trick


Happy testing:)

Comments

Post a Comment