For the past few weeks I have been thinking a lot about RSpec and why there is no clear, definite answer when<div>someone asks:</div><div><br></div><div> "I'm looking for a Python equivalent of RSpec. Where can I find such a thing?"</div>
<div><br></div><div>Probably the most common (and understandable) answer is that Python syntax wouldn't allow such a thing</div><div>whereas in Ruby it is possible.</div><div><br></div><div>Ok, if that is so, then why there are so many projects (most of them already un-maintained) that try to give</div>
<div>some RSpec features to Python?</div><div><br></div><div>There is Pinocchio written in part by Titus (last commit was in 2009), there is a spec runner that Gary wrote, there is also</div><div>pyspec (last version from 2008) and a couple of others. I know there is "lettuce" which tries to emulate Ruby's Cucumber</div>
<div>but that is not exactly RSpec.</div><div><br></div><div>So are we running away from RSpec just because we can't implement it in Python? (or maybe we do want to implement it</div><div>and then we fail?).</div><div>
<br></div><div>This more of an open question I guess, but why there isn't a project in Python that grabs the best features from RSpec</div><div>and implements them?</div><div><br></div><div>Isn't that how we came about UnitTesting? (e.g. "hey that's JUnit and seems good let's implement that in Python")</div>
<div><br></div><div>Not trying to start a flamewar here, but I guess at some level it is healthy to ask these kind of questions, specially since</div><div>a lot of the guys in this list are so important for the Python testing environment.</div>
<div><br></div><div><br></div>