Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C1A67EB77 for ; Thu, 17 Jan 2013 08:54:25 +0000 (UTC) Received: (qmail 86493 invoked by uid 500); 17 Jan 2013 08:54:24 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 86232 invoked by uid 500); 17 Jan 2013 08:54:23 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 86200 invoked by uid 99); 17 Jan 2013 08:54:23 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jan 2013 08:54:23 +0000 Date: Thu, 17 Jan 2013 08:54:23 +0000 (UTC) From: "Prasanna Santhanam (JIRA)" To: cloudstack-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CLOUDSTACK-981) marvin integration lib: use factories to define default test data MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Prasanna Santhanam reassigned CLOUDSTACK-981: --------------------------------------------- Assignee: Prasanna Santhanam > 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 > Assignee: 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