Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a bit of verbosity to e2e tests #308

Merged
merged 1 commit into from
Apr 5, 2018

Commits on Apr 4, 2018

  1. Add a bit of verbosity to e2e tests

    Adds verbosity to the tests as well as command-line-outout:
    
    ```sh
    ▶ make test-e2e
    go test github.com/redhat-developer/ocdev/tests/e2e -ginkgo.v
    $ git clone https://github.com/openshift/nodejs-ex /tmp/ocdev807324634/nodejs-ex
    
    Running Suite: ocdev test suite
    ===============================
    Random Seed: 1522871416
    Will run 9 of 9 specs
    
    Usecase redhat-developer#5 ocdev project
      should create a new project
      /home/wikus/seafile/files/dev/go/src/github.com/redhat-developer/ocdev/tests/e2e/e2e_test.go:120
    $ ocdev project create ocdev-1522871416
    New project created and now using project : ocdev-1522871416
    
    $ ocdev project get --short
    ocdev-1522871416
    
    •
    ------------------------------
    Usecase redhat-developer#5 creating an application when application by the same name doesn't exist
      should create an application
      /home/wikus/seafile/files/dev/go/src/github.com/redhat-developer/ocdev/tests/e2e/e2e_test.go:129
    $ ocdev application create usecase5
    Creating application: usecase5
    Switched to application: usecase5
    
    $ ocdev application get --short
    usecase5
    
    •
    ------------------------------
    Usecase redhat-developer#5 creating an application when application by the same name doesn't exist
      should be created within the project
      /home/wikus/seafile/files/dev/go/src/github.com/redhat-developer/ocdev/tests/e2e/e2e_test.go:134
    $ ocdev project get --short
    ocdev-1522871416
    
    ```
    cdrage committed Apr 4, 2018
    Configuration menu
    Copy the full SHA
    73b3f7f View commit details
    Browse the repository at this point in the history