Merge lp:~elopio/snappy/examples1 into lp:~snappy-dev/snappy/snappy-moved-to-github
Proposed by
Leo Arias
Status: | Merged |
---|---|
Approved by: | Leo Arias |
Approved revision: | 754 |
Merged at revision: | 756 |
Proposed branch: | lp:~elopio/snappy/examples1 |
Merge into: | lp:~snappy-dev/snappy/snappy-moved-to-github |
Prerequisite: | lp:~elopio/snappy/service_tests |
Diff against target: |
197 lines (+81/-52) 4 files modified
_integration-tests/tests/examples_test.go (+72/-0) _integration-tests/tests/info_test.go (+9/-5) _integration-tests/tests/installApp_test.go (+0/-31) _integration-tests/tests/installFramework_test.go (+0/-16) |
To merge this branch: | bzr merge lp:~elopio/snappy/examples1 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Federico Gimenez (community) | Approve | ||
Review via email: mp+273787@code.launchpad.net |
Commit message
Added a suite for testing the examples.
Description of the change
This branch is a request for comments. What I want to do is move as many tests that use examples to the examples_test.go. And use local snaps for the other tests. For example, in order to test that the info command works, we don't need to install anything from the store. This will better split the fast and slow tests, the errors due to the store or the examples will be in a single suite, and the data dir will contain just the things needed for most of the tests, no more and no less.
To post a comment you must log in.
On Thu, Oct 8, 2015 at 3:56 AM, Leo Arias <email address hidden> wrote:
> The proposal to merge lp:~elopio/snappy/examples1 into lp:snappy has been
> updated.
>
> Description changed to:
>
> This branch is a request for comments. What I want to do is move as many
> tests that use examples to the examples_test.go. And use local snaps for
> the other tests. For example, in order to test that the info command works,
> we don't need to install anything from the store. This will better split
> the fast and slow tests, the errors due to the store or the examples will
> be in a single suite, and the data dir will contain just the things needed
> for most of the tests, no more and no less.
>
The only gotcha is sideloading attributes, signed by store snaps are not
sideloaded ones while unsinged ones are.