Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add end-to-end tests #30

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add end-to-end tests #30

wants to merge 2 commits into from

Conversation

ryanvarley
Copy link
Member

@ryanvarley ryanvarley commented May 21, 2017

We need a couple of tests to confirm the result of runs is stable (baring feature changes). Closes #24.

TODO

  • Add a test based on fixture
  • add a second test with different settings

Copy link
Contributor

@atsiaras atsiaras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test

@@ -37,6 +37,10 @@ class WFC3SimConfigError(BaseException):
def run():
arguments = docopt.docopt(__doc__)
parameter_file = arguments['<parameter_file>']
run_simulation(parameter_file)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a test

@@ -273,7 +277,7 @@ def run():
exp_start_times))
exp_start_times = np.loadtxt(exp_start_times) * u.day

# check to see if we have numbers of file paths, and load accordingly
# check to see if we file paths instead of numbers and load if so
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test also

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setup end-to-end tests
2 participants