incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanna Santhanam (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-981) marvin integration lib: use factories to define default test data
Date Tue, 15 Jan 2013 15:36:15 GMT
Prasanna Santhanam created CLOUDSTACK-981:
---------------------------------------------

             Summary: marvin integration lib: use factories to define default test data
                 Key: CLOUDSTACK-981
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-981
             Project: CloudStack
          Issue Type: Improvement
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Test Tools
    Affects Versions: 4.0.0
            Reporter: Prasanna Santhanam
             Fix For: Future


Currently we use bare python dictionaries to define the test data and its defaults within
an integration test. This should be improved to use factories using a library like https://github.com/dnerdy/factory_boy.

Not only will this enable for easier auto-completion when writing the test. It also allows
us to see the test data in a simple hierarchical format.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message