Does a small PR like this require a test? <https:/...
# atmos-dev
c
Does a small PR like this require a test? https://github.com/cloudposse/atmos/pull/1004
merged 1
Looks like I can add something simple to enhance the current test
Is it possible to run only one test?
I am running my changed test
Copy code
- name: atmos docs
    enabled: true
    snapshot: true
    description: "Ensure atmos docs command executes without errors."
    workdir: "../"
    command: "atmos"
    args:
      - "docs"
    expect:
      diff: []
      exit_code: 0
      stdout:
        - "Opening default browser to 'https://atmos.tools'."
      stderr:
        - "^$"
and getting this error
Copy code
=== RUN   TestCLICommands/atmos_docs
    cli_test.go:508: Reason: stdout did not match pattern "Opening default browser to 'https://atmos.tools'.".
    cli_test.go:509: Output: ""
    cli_test.go:397: Stdout mismatch for test: atmos docs
The thing is that the output happens to console
Copy code
fmt.Printf("Opening default browser to '%v'.\n", atmosDocsURL)
figured it out. I am just not so aware these days