Skip to main content
7 events
when toggle format what by license comment
Nov 12, 2013 at 14:29 comment added Markon Very good that you start with nose - excellent tool! Also, try to use tools like pep8/pylint - they are very important! PS: Yeah, the limit of 80 characters is being discussed in the pep8 draft, in particular: bugs.python.org/issue18472#msg193785
Nov 12, 2013 at 14:13 comment added Alexander Thank you, these are all valid points. I am currently working on implementing the suggestions. While I agree with PEP8 the 80 character limit is difficult as it requires splitting up many strings which make the code sometimes less readable. I looked into testing frameworks and went for nose, which seems easy to work with and already helped.
Nov 12, 2013 at 14:10 vote accept Alexander
Nov 11, 2013 at 12:01 comment added Markon I agree. If the OP is new to tests in general pytest is too much, but pytest is very powerful (it may include pep8, pylint, ...).
Nov 11, 2013 at 10:46 comment added Gareth Rees +1, but I'd recommend starting with unittest (which is built into Python) and looking at third-party software like pytest only if the built-in facilities prove inadequate in some way.
Nov 11, 2013 at 10:29 review First posts
Nov 11, 2013 at 10:42
Nov 11, 2013 at 10:10 history answered Markon CC BY-SA 3.0