You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Eugene Chekanskiy (JIRA)" <ji...@apache.org> on 2014/01/06 12:10:50 UTC

[jira] [Commented] (AMBARI-4226) Unittests for Package resource an all it's attributes mocking to both suse and centos.

    [ https://issues.apache.org/jira/browse/AMBARI-4226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13862919#comment-13862919 ] 

Eugene Chekanskiy commented on AMBARI-4226:
-------------------------------------------

+1

> Unittests for Package resource an all it's attributes mocking to both suse and centos.
> --------------------------------------------------------------------------------------
>
>                 Key: AMBARI-4226
>                 URL: https://issues.apache.org/jira/browse/AMBARI-4226
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 1.5.0
>
>         Attachments: AMBARI-4226.patch
>
>
> Test package with mocking both suse and centos os (to test yum and zypper installers). Test all actions and all the attributes.
> Note here we should not call directly provider methods like action_create, but make resource management library do that for us, by calling env.run(). In other case test won't cover resources definitions, and other import logic



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)