Skip to content

Commit

Permalink
Documenting test script
Browse files Browse the repository at this point in the history
  • Loading branch information
kellykochanski committed Sep 27, 2019
1 parent abfe984 commit 1ad1720
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@ $ git checkout -b name/purpose develop
and commit your changes.

When the feature or bugfix is ready to be incorporated into Rescal-snow, open a [pull request](https://help.github.com/en/articles/creating-a-pull-request) against `develop`.
The feature should pass the tests in [test/test.sh](test/test.sh).

11 changes: 11 additions & 0 deletions test/test.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
#!/bin/bash

# Kelly Kochanski Sept 27 2019
# Test script for Rescal-snow
# This script:
# - builds Rescal-snow
# - Runs one example (scripts/snow_cone.run)
# - Imports all the utilities scripts
# - Uses the heightmap utility to visualize some files
# - Uses the parameter space exploration utility
# and rescal_utilities to set up some potential runs
# Success at each stage is confirmed by the user.


echo "Attempting to build Rescal-snow..."
cd ..
Expand Down
5 changes: 5 additions & 0 deletions test/viz_example_test.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
__author__="Kelly Kochanski"
__date__="Sept 27 2019"
__doc__="Test script for Rescal-snow python utilities. Called by test.sh."


import sys
import os

Expand Down

0 comments on commit 1ad1720

Please sign in to comment.