04 - Greenspector Studio - Mac - iOS
update 28 NOV 2024
Everything is now ready to install Greenspector tools for measures. Three tools are necessary:
Greenspector CLI
- To run measurement on our testbenchTestrunner
- To run measurement on local device
One tool is optional (if you use https://saas.greenspector.com, you do not need it anymore)
DashboardCampaign
- To generate a result's dashboard
Preparation
Please create two folder for each use:
$HOME
└ GreenspectorTools
├ Measure
└ Dashboard
A different location can be chosen. In this case, please remember it for the PATH section of this document.
Download
These tools are available on Greenspector Core Saas in the module section.
Browse in module section and download each required part at the right location:
In
Measure
folder:greenspector-X.XX.X_darwin-amd64
inGreenspector CLI
testrunner-X.X.X_darwin-amd64
inTest Runner
In
Dashboard
folder:dashboardCampagne-X.X.X_darwin-amd64
inDashboard campaign CLI
assets.tar
inDefinition Assets
definition.yml
inDefinition file Template
config.yml
inConfig file Template
Rename executables for easier use:
greenspector-X.XX.X_darwin-amd64
togspt
testrunner-X.X.X_darwin-amd64
totestrunner
dashboardCampagne-X.X.X_darwin-amd64
todashboardCampagne
Unzip assets.tar
Rights
You need to give rights to these executables
Open a terminal where the executables are.
chmod +x gspt
chmod +x testrunner
chmod +x dashboard
Path
As usual to be able to launch these tools from every folder, we have to add them to PATH.
Add the following lines in the .bash_profile file:
export PATH=$HOME/GreenspectorTools/Measure:$PATH
export PATH=$HOME/GreenspectorTools/Dashboard:$PATH
Run the command source ~/.bash_profile
to apply changes.
Verification
Use the following commands to verify the installation:
gspt -v
testrunner -v
These commands should show the current version of Greenspector CLI and Testrunner.
If you run the Test Runner or the Greenspector CLI or the Dashboard Campagne for the first time, you must authorize the program to run:
Click on the apple, then on System Settings > Privacy & Security > Allow anyway
DashboardCampagne
doesn't have version check for now.
So enter its command without argument:
You should see log messages.