~gary-wzl77/snappy-hwe-snaps/+git/ubuntu-custom-image:better_code_coverage

Last commit made on 2017-11-16
Get this branch:
git clone -b better_code_coverage https://git.launchpad.net/~gary-wzl77/snappy-hwe-snaps/+git/ubuntu-custom-image
Only Gary.Wang can upload to this branch. If you are Gary.Wang please log in for upload directions.

Branch merges

Branch information

Name:
better_code_coverage
Repository:
lp:~gary-wzl77/snappy-hwe-snaps/+git/ubuntu-custom-image

Recent commits

169d3a9... by Gary.Wang

Merge git+ssh://git.launchpad.net//~snappy-hwe-team/snappy-hwe-snaps/+git/ubuntu-custom-image into code_coverage_main

7cbb654... by Gary.Wang

Add a couple of unit tests for gadget specification error handling and
some cleanups.

d8f5df9... by Gary.Wang

Move ImageCreationMocker to helper so it can be reused by others.

fd1d70f... by Gary.Wang

Address the review comments.

91a1b6a... by Gary.Wang

Image assembler unit tests refine.

Add three more test cases for a good code coverage[raw_hooks, image
 file location test(output_dir), hooks_directory argument in ubuntu_image].
Also Return subprocess exit info when mocking classic image creation.

313b411... by Gary.Wang

Update the test cases a bit as test data location is changed, also some
cleanups. Some logic fine-tuned on member variables initialization.

b617137... by Gary.Wang

Run subprocess_run normally in ImageCreationMock if it's not intended
to create a classic image.

2f1093f... by Gary.Wang

Test return value(exit_code) with assertEquals.

ec30960... by Gary.Wang

Add two more unit tests for exception handling and better code coverage(image_assembler).

9b76f80... by Gary.Wang

Generate image spec file in context manager.