openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #02318
Re: [SPAM] Testing
Vish, this is good stuff. We should pick this up in glance and swift, either
sharing a common effort with nova or specifying for each project the same
documentation that Vish is suggesting.
Heads up for other projects that are looking to be affiliated or incubated
projects, it will save time and effort to conform to a common schema for
testing that is being laid out.
Thanks,
John
From: openstack-bounces+john=openstack.org@xxxxxxxxxxxxxxxxxxx
[mailto:openstack-bounces+john=openstack.org@xxxxxxxxxxxxxxxxxxx] On Behalf
Of Vishvananda Ishaya
Sent: Monday, May 09, 2011 4:58 PM
To: openstack@xxxxxxxxxxxxxxxxxxx
Subject: [SPAM] [Openstack] Testing
Hello Again,
When we had the discussion about Testing, I requested help in creating some
documentation and examples of good unit testing practice. I mentioned I
would send out an email requesting volunteers to help with this. This is
that email!
I would ultimately like to have:
example very basic unit test
example use of stubs
example use of mox
documentation on what should go into a unit test vs functional test
Once we have the examples and documentation laid out, I'd also like to
kick-off an effort to clean up all of our existing unittests to match that
style.
I'd like to collect a few volunteers to work on this. If someone feels like
thy would like to head-up this effort, please let me know.
I've created an initial blueprint here:
https://blueprints.launchpad.net/nova/+spec/unittest-examples
References
-
Testing
From: Vishvananda Ishaya, 2011-05-09