Merge lp:~elopio/snappy/add_tests_tests into lp:~snappy-dev/snappy/snappy-moved-to-github
Proposed by
Leo Arias
Status: | Merged |
---|---|
Approved by: | Leo Arias |
Approved revision: | 607 |
Merged at revision: | 599 |
Proposed branch: | lp:~elopio/snappy/add_tests_tests |
Merge into: | lp:~snappy-dev/snappy/snappy-moved-to-github |
Prerequisite: | lp:~elopio/snappy/one_tests_package |
Diff against target: |
515 lines (+153/-68) 20 files modified
_integration-tests/helpers/common/common.go (+11/-20) _integration-tests/helpers/config/config.go (+26/-26) _integration-tests/helpers/config/config_test.go (+93/-0) _integration-tests/helpers/image/image.go (+1/-1) _integration-tests/main.go (+3/-3) _integration-tests/tests/apt_test.go (+1/-1) _integration-tests/tests/build_test.go (+1/-1) _integration-tests/tests/failover_rclocal_crash_test.go (+1/-1) _integration-tests/tests/failover_systemd_loop_test.go (+1/-1) _integration-tests/tests/failover_test.go (+1/-1) _integration-tests/tests/failover_zero_size_file_test.go (+1/-1) _integration-tests/tests/info_test.go (+2/-2) _integration-tests/tests/installApp_test.go (+1/-1) _integration-tests/tests/installFramework_test.go (+1/-1) _integration-tests/tests/list_test.go (+1/-1) _integration-tests/tests/rollback_test.go (+1/-1) _integration-tests/tests/search_test.go (+1/-1) _integration-tests/tests/update_test.go (+1/-1) _integration-tests/tests/writablePaths_test.go (+1/-1) run-checks (+4/-3) |
To merge this branch: | bzr merge lp:~elopio/snappy/add_tests_tests |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Federico Gimenez (community) | Approve | ||
Review via email:
|
Commit message
Refactored the helpers to be able to add tests for them.
Added tests for the config helpers.
Description of the change
I used as an example the config package. Now thinking about it again is the worst example, because we will get rid of it in favor of the test arguments. Oh well...
To post a comment you must log in.
Great! Very good idea the config encapsulation and the helpers folder =)