1
0
mirror of https://github.com/projectatomic/atomic.git synced 2026-02-06 21:45:24 +01:00
Commit Graph

1 Commits

Author SHA1 Message Date
Yu Qi Zhang
c9921db260 Refactor system container tests
The old tests (test_system_containers.sh) were disorganized
and lacked coverage for many commands. This refactor attempts
to improve the tests with a focus on clarity and coverage.

Improvements:
  - split into 4 separate tests for clarity and independence
  - section each test to better know where failures happen
  - make use of shared setup functions
  - use ${WORK_DIR} for test files
  - better setup/teardown usage
  - improved coverage for update/rollback, image commands,
    environment variables and expected failures

Drawback:
  - Slower

Signed-off-by: Yu Qi Zhang <jerzhang@redhat.com>

Closes: #983
Approved by: giuseppe
2017-05-03 15:59:16 +00:00