Name: tests
Owner: OpenWorm
Description: OpenWorm tests across various repos
Created: 2018-02-11 22:36:24.0
Updated: 2018-05-09 06:27:48.0
Pushed: 2018-05-16 19:33:27.0
Homepage: null
Size: 40760
Language: Jupyter Notebook
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This repository represents a collection of SciUnit tests for various subprojects of OpenWorm.
Set an environment variable for the root path of all of your openworm repositories. For example, you keep the ChannelWorm repository at /path/to/openworm/ChannelWorm
, then you would set:
rt OPENWORM_HOME=/path/to/openworm
For each Open Worm subproject repository you wish to test (e.g. ChannelWorm, CElegansNeuroML):
OPENWORM_HOME
clone http://github.com/openworm/REPO_NAME # Replace REPO_NAME with e.g. ChannelWorm
EPO_NAME # Ditto
pull # Retrieve all branches (in any recent version of the git client)
checkout sciunit # Switch to the sciunit branch of the repo (which will contain updates for testing)
install -e . --process-dependency-links # Install as a developer
Clone and install this repository:
OPENWORM_HOME
clone http://github.com/openworm/tests
ests
install -e . --process-dependency-links
Launch and run any of the notebooks (owtests/\*.ipynb
), or run:
OPENWORM_HOME
on -m unittest owtests
to run all of them in batch from the command line.
We provide a Docker container for the same installation:
clone http://github.com/openworm/tests
er build -t openworm/owtests tests # Will build the container and run all the tests
er run -it openworm/owtests # To explore test artifacts from the shell
d 744 docker-interact
cker-interact owtests # To explore test notebooks from the browser
sciunit run
.