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 test suite and runner to project #44

Open
rjaltman opened this issue Apr 12, 2019 · 1 comment
Open

Add test suite and runner to project #44

rjaltman opened this issue Apr 12, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@rjaltman
Copy link
Owner

In the future, we should validate some core functionality based on a series of tests. Since we are using JavaScript for some of this project, we can accomplish parts of that with something like IstanbulJS, but we should probably have some different test run tools for the database itself. I might also recommend Coveralls, which will eventually get us looking into code coverage here.

@rjaltman rjaltman added the enhancement New feature or request label Apr 12, 2019
@ddsnowboard
Copy link
Collaborator

ddsnowboard commented Apr 12, 2019

I'm not sure we need to test the JavaScript code. We could use some fancy framework to plug into the flask code, or we could just set up something that calls the API over HTTP and makes sure it returns the right thing. I think that might be more practical.

EDIT: I stand by not testing JavaScript, but having something that plugs into Flask might be handy. That might allow us to make database calls without having to worry about messing up the database on our own machines, which is a huge advantage.

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

No branches or pull requests

2 participants