Test Reporters

Support for multiple operating system environments

The test reporter binary is currently available for two operating systems, Linux and Darwin (OSX). Both binaries function identially, accepting the same flags and settings.

Linux:

curl -o reporter https://get.testrecall.com/r/latest/reporter.linux-amd64
chmod +x reporter

OSX (Darwin):

curl -o reporter https://get.testrecall.com/r/latest/reporter.darwin-amd64
chmod +x reporter

You may find yourself in a position where your tests are run on muliple operating systems, for example CI uses Ubunut/Linux but developers are using Macbooks/Darwin.

You can use an if/else statement to conditionally download the correct reporter for your operating system.

#!/usr/bin/env bash

if [ "$(uname)" == 'Darwin' ]; then
  curl -o reporter https://get.testrecall.com/r/latest/reporter.darwin-amd64
else
  curl -o reporter https://get.testrecall.com/r/latest/reporter.linux-amd64
fi

chmod +x reporter

If your operating system is missing here, reach out!