Commit 8dbe2b42 authored by Adrian DC's avatar Adrian DC
Browse files

test: coverage: cover untested lines of colors and includes errors

Signed-off-by: default avatarAdrian DC <radian.dc@gmail.com>
parent 237e094f
Loading
Loading
Loading
Loading
Loading
+1 −0
Changes for tests/colors/test.sh: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -18,4 +18,5 @@ gitlabci-local -H -p
gitlabci-local --set themes no_color UNSET
gitlabci-local -H -p
FORCE_COLOR=1 gitlabci-local -H -p
FORCE_COLOR=0 gitlabci-local -H -p
NO_COLOR=1 gitlabci-local -H -p
+5 −1
Changes for tests/configurations/test.sh: 5 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -30,7 +30,11 @@ pexpect-executor \
    --down --down --enter \
    --enter \
    -- gitlabci-local -e VARIABLE_8=value8 -e VARIABLE_12=value12 -p
pexpect-executor \
FORCE_COLOR=1 pexpect-executor \
    --enter \
    --ctrl c \
    -- gitlabci-local -p && exit -1 || true
FORCE_COLOR=0 pexpect-executor \
    --enter \
    --ctrl c \
    -- gitlabci-local -p && exit -1 || true
+13 −0
Changes for tests/includes/.gitlab-ci.project.missing.yml: 13 added lines, 0 removed lines.
Original line number Diff line number Diff line
include:
  - local: '/image.yml'
  - project: 'group1/project1'
    file:
      - '/job_1.yml'
      - '/job_unknown.yml'

stages:
  - includes

.local:
  include:
    'group1/project1': '.'
+1 −0
Changes for tests/includes/test.sh: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -18,5 +18,6 @@ gitlabci-local -c ./.gitlab-ci.nested.valid.yml -p
gitlabci-local -c ./.gitlab-ci.nested.missing.yml -p && exit 1 || true
gitlabci-local -c ./.gitlab-ci.nested.loop.yml -p
gitlabci-local -c ./.gitlab-ci.project.yml -p
gitlabci-local -c ./.gitlab-ci.project.missing.yml -p && exit 1 || true
gitlabci-local -c ./.gitlab-ci.str.yml -p
gitlabci-local -c ./.gitlab-ci.variables.yml -p
+2 −1
Changes for tests/menus/test.sh: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -22,4 +22,5 @@ pexpect-executor -- gitlabci-local -p -s menus-0
pexpect-executor --up --up --space --enter -- gitlabci-local -p -m -l
pexpect-executor --ctrl c -- gitlabci-local -p -m -l
pexpect-executor --space --enter -- gitlabci-local -c ./.gitlab-ci.select.yml -s
pexpect-executor --enter -- gitlabci-local -c ./.gitlab-ci.select.yml -l
FORCE_COLOR=1 pexpect-executor --enter -- gitlabci-local -c ./.gitlab-ci.select.yml -l
FORCE_COLOR=0 pexpect-executor --enter -- gitlabci-local -c ./.gitlab-ci.select.yml -l