Install
To install Test Hub you only need to go to release page on GitHub Release select the platform and the version and download it.
Then you just need to rename the file to something more meanful name such as testhub
and add it to your PATH
directory.
Linux and Mac OS X
In case of Linux
and Mac OS X
you can run next commands:
mv testhub_XXX_amd64 testhubclient
chmod 755 testhub
mv testhubclient /usr/local/bin/testhub
Windows
In case of Windows
you can run next commands:
ren testhub_windows_amd64.exe testhub.exe
set PATH=%PATH%;<testhubclient_directory>
Docker
Test Hub is also provided as Docker image.
For example:
~ $ docker run -ti --rm -p 8000:8000 lordofthejars/testhub:<version>
Just start Test Hub server at port 8000
.
Notice that now all test reports are lost when container is stopped.
Volume /home/testhub/.hub
is also exposed so you can mount it to a local directory to not loose data when container is stopped.