Ask Your Question
2

For unittesting OpenStack uses testtools, unittest. Why not pytest?

asked 2015-01-12 11:05:36 -0500

Veena gravatar image

updated 2015-01-12 12:27:47 -0500

smaffulli gravatar image

Hi, I have seen that OpenStack follows testtools framework for unit testing. However, writing test cases using pytest is easy and reduces the amount of code to be written by providing some good features. Why OpenStack doesn't use pytest? Is there any specific reason for that?

Thanks, Veena

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-01-12 12:30:26 -0500

smaffulli gravatar image

I'm sure there are lots of specific reasons, one may be that things started this way and were carried on by history :) Unless you see specific technical issues that cannot be accomplished with the current framework I'd say that this is a matter of personal preferences.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2015-01-12 11:05:36 -0500

Seen: 280 times

Last updated: Jan 12 '15