Skip to content
This repository has been archived by the owner on Jan 25, 2018. It is now read-only.

Consider writing basic integration/regression tests #38

Open
derrickmar opened this issue Nov 12, 2016 · 0 comments
Open

Consider writing basic integration/regression tests #38

derrickmar opened this issue Nov 12, 2016 · 0 comments

Comments

@derrickmar
Copy link
Contributor

derrickmar commented Nov 12, 2016

Write basic tests to prevent regression. Some ideas:

Scenario: As a user, if the deployment shuts down, all my files should still be saved when the deployment is restarted
Steps:

  • Start my server
  • Save a sample.txt file in directory
  • Kill hub and containers via ks8 API
  • Wait for new pods to restart
  • Login, Start my server, verify sample.txt file is still there

Scenario: As a user, I should be able to start my server, start a notebook, and import datascience package
Steps:

  • Login
  • Click start my server
  • Run a new notebook
  • Type import datascience on new notebook
  • Run code that uses datascience package

Scenario: As a user, I should be able to login via google oAuth

Why write tests?

  • Prevent regression
  • Speed up development by automizing manual testing
  • Make sure tests pass on Travis
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant