[OpenStack-Infra] Git-review tests
    Dina Belova 
    dbelova at mirantis.com
       
    Thu Jun 20 11:56:22 UTC 2013
    
    
  
Hello!
I'm writing to suggest that git-review requires to be covered by tests.
There are no testing part in it at all, so maybe it is a good idea to cover
it.
There are two types of tests to be implemented to cover the project:
* unit tests to verify working of the separated methods
* integrated tests that are using local copy of Gerrit
Unit tests have to mock needed calls to find out working of Python
functions used in git-review.
The integrated tests are supposed to have the following workflow:
* clear (or create) folder with the Gerrit environment for the every test
* create new projects and push (--force) everything needed into test
branches
* clone project repository and create some new commits there
* use git-review to check out how does it work
-- 
Best regards,
Dina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-infra/attachments/20130620/72dec26e/attachment.html>
    
    
More information about the OpenStack-Infra
mailing list