Closed dakotablair closed 2 years ago
How can we make the developer experience easier?
Ideally, one could simply run make unit-tests
and run the unit tests based on the code on the host machine. If the tests depend on system dependencies within the image this can be a problem. Running the tests within a container solves this problem, but creates another since the container filesystem is different than the host. If the tests change on the host then the image needs to be rebuilt before tests can run. One alternative is to mount a volume, but this might may require modifying run_bash.sh
.
Closed by #3 .
We wish to add unit testing which can be done offline, that is, without contacting KBase directly.
Goals:
nose
.Makefile
directive that allows the user to launch a test either from their host or a container.kb-sdk test
not break on unit testsunit-test
directory.