forked from LaconicNetwork/kompose
If test in `make test-cmd` is failing, now it will show diff so that it will be easy to debug. for example, ``` ===> Starting test <=== convert::expect_success_and_warning: Running: 'kompose -f /home/snarwade/go/src/github.com/kubernetes-incubator/kompose/script/test/fixtures/service-name-change/docker-compose.yml convert --stdout -j' expected_output: '/home/snarwade/go/src/github.com/kubernetes-incubator/kompose/script/test/fixtures/service-name-change/output-k8s.json' expected_warning: 'Unsupported root level volumes key - ignoring' WARN Unsupported root level volumes key - ignoring WARN Unsupported depends_on key - ignoring 103c103 < "value": "bitnami_wordpres" --- > "value": "bitnami_wordpress" FAIL: converted output does not match ``` |
||
|---|---|---|
| .. | ||
| cmd | ||
| fixtures | ||
| README.md | ||
Functional Test
Requirements
Install jq - commandline JSON processor with minimum version of 1.5
Running tests
Test running ./cmd/tests.sh