Skip to content

Commit

Permalink
Merge pull request #308 from cdrage/verbose-output
Browse files Browse the repository at this point in the history
Add a bit of verbosity to e2e tests
  • Loading branch information
kadel authored Apr 5, 2018
2 parents 469766e + 73b3f7f commit 4b6defc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ test:
# Run e2e tests
.PHONY: test-e2e
test-e2e:
go test github.com/redhat-developer/ocdev/tests/e2e
go test github.com/redhat-developer/ocdev/tests/e2e -ginkgo.v

# create deb and rpm packages using fpm in ./dist/pkgs/
# run make cross before this!
Expand Down
5 changes: 3 additions & 2 deletions tests/e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func runCmd(cmdS string) string {
os.Exit(1)
}

fmt.Println(string(out.Bytes()))
fmt.Printf("$ %s\n%s\n\n", cmdS, string(out.Bytes()))
return string(out.Bytes())
}

Expand Down Expand Up @@ -132,7 +132,8 @@ var _ = Describe("Usecase #5", func() {
})
})

Context("creating an application", func() {
Describe("creating an application", func() {

Context("when application by the same name doesn't exist", func() {
It("should create an application", func() {
createApp("usecase5")
Expand Down

0 comments on commit 4b6defc

Please sign in to comment.