expecter icon indicating copy to clipboard operation
expecter copied to clipboard

Replace nose with nose2

Open thedrow opened this issue 12 years ago • 10 comments
trafficstars

Since I am assuming you are not planning to support Python versions lower then 2.6 this project should move to nose2 which is based on unittest2. I can do it if you wish.

thedrow avatar Jun 12 '13 22:06 thedrow

Only runtests.py should have to change, right? Go for it!

garybernhardt avatar Jun 13 '13 03:06 garybernhardt

@garybernhardt More or less. I can also change the tests format to be more readable if they will use the Such DSL.

thedrow avatar Jun 13 '13 10:06 thedrow

I'm opposed to DSL attempts like that in Python, but I wouldn't mind seeing the runner use nose2 by default.

garybernhardt avatar Jun 14 '13 00:06 garybernhardt

Gotcha. It actually does make the tests & the test results much more readable. I'll do it by next week or so :)

thedrow avatar Jun 14 '13 00:06 thedrow

Such DSL, try googling that.

CharString avatar Sep 17 '13 17:09 CharString

-1. It's a syntactic and semantic mess, like all attempts to get RSpec-like syntax in Python (he says, having written one such tool years ago).

garybernhardt avatar Sep 17 '13 17:09 garybernhardt

But I'm still fine with changing to nose2, of course.

garybernhardt avatar Sep 17 '13 17:09 garybernhardt

My remark was more on the quality of "such DSL" as a google term. I had a hard time finding what it was and looked like.

I should have been clearer on that.

CharString avatar Sep 17 '13 17:09 CharString

Ahh, yeah, I totally misunderstood. :)

garybernhardt avatar Sep 17 '13 18:09 garybernhardt

It's still on my TODO list but I'm in the process of writing nose2 0.5.0 so it might take me a bit of time.

thedrow avatar Sep 17 '13 21:09 thedrow