Skip to content

Writing a test step #157

@jrock2004

Description

@jrock2004

Whats your thought on writing a test step which checks that certain things are installed and in the right place?

testInstall() {
  if test ! "$(command -v brew)"; then
    echo "Brew is not installed"
    exit 1
  fi
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions