I am reading the comments in test/unit_tests.py about how to run the unit tests.
It says to create a ~/.basespace/unit_tests.cfg and that this can be done with
bs -c unit_tests authenticate --api-server https://api.cloud-hoth.illumina.com/
Where is the bs executable? Since I don't have it, can I create the .cfg file manually?
Also, is it possible to run the unit tests non-interactively? Or does there need to be a human present to click OAuth links in browsers?
I ask because I'd like to contribute a PR that runs the unit tests in a CI service like Travis, and for this to work the tests have to run non-interactively.
I am reading the comments in
test/unit_tests.pyabout how to run the unit tests.It says to create a
~/.basespace/unit_tests.cfgand that this can be done withWhere is the
bsexecutable? Since I don't have it, can I create the.cfgfile manually?Also, is it possible to run the unit tests non-interactively? Or does there need to be a human present to click OAuth links in browsers?
I ask because I'd like to contribute a PR that runs the unit tests in a CI service like Travis, and for this to work the tests have to run non-interactively.