summaryrefslogtreecommitdiff
path: root/yarns/200-fast-tests.yarn
blob: 1b0ef97374d1a8736f663aac656f9dbb9b97e7f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Fast option check tests

This chapter contains fast scenarios that test vmdebootstrap option
handling. These scenarios do not actually build images, they only
verify that vmdebootstrap parses the command line correctly.

    SCENARIO --squash and --image used together
    ASSUMING fast tests are requested
    WHEN user attempts to run vmdebootstrap
    ... --squash=FOO --image=BAR --dry-run
    THEN vmdebootstrap exited with a non-zero exit code
    AND vmdebootstrap wrote an error message matching --squash
    AND vmdebootstrap wrote an error message matching --image