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

Setup test to verify non-SRD information is not included. #114

Open
benjaminapetersen opened this issue Nov 12, 2019 · 11 comments
Open

Setup test to verify non-SRD information is not included. #114

benjaminapetersen opened this issue Nov 12, 2019 · 11 comments

Comments

@benjaminapetersen
Copy link

I believe Travis-CI will run for free against a github repo. As long as PRs are used rather than direct merge to master, a simple test script could be written to read the JSON files, and validate the items.
For example, load the monsters-SRD.json, loop all the names and verify a hard-coded list of names. If anyone adds additional, tests fail.

@bagelbits
Copy link
Collaborator

That sounds like a pretty good idea.

@bagelbits
Copy link
Collaborator

@benjaminapetersen Let me know if I can help with this as at all.

@benjaminapetersen
Copy link
Author

The main issue here is the need to run some code. Does anyone have strong feelings on language, etc?

@bagelbits
Copy link
Collaborator

bagelbits commented Dec 17, 2019 via email

@bagelbits
Copy link
Collaborator

@ogregoire or @Alex-frazer Strong feelings on language? I mostly work in Ruby and Node. But for consistency between the languages currently in the DB and API, Node might make the most sense for now?

@benjaminapetersen
Copy link
Author

Node is probably the most approachable to the most people.

@ogregoire
Copy link
Collaborator

I'm more of a C/C++/Java/Python guy, but any language is good for me as it will be quite easy to implement.

@bagelbits
Copy link
Collaborator

bagelbits commented Dec 30, 2019

I just cut #132 which should lay some of the ground work for some of this. At least the bare minimum of a linter. I can also handle setting up the plumbing for Buildkite so that we can run that. Thought that'll have to wait until ownership gets transferred.

@bagelbits
Copy link
Collaborator

Yup. #132 is ready to go and it will also add in Travis CI. I'm also happy to split up the PR, as it's doing quite a bit of stuff.

@benjaminapetersen
Copy link
Author

+1

@bagelbits
Copy link
Collaborator

@benjaminapetersen Travis CI is now setup.

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

No branches or pull requests

3 participants