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

Create tests for the itbp.py program #9

Open
Alan-R opened this issue Feb 29, 2016 · 0 comments
Open

Create tests for the itbp.py program #9

Alan-R opened this issue Feb 29, 2016 · 0 comments
Assignees

Comments

@Alan-R
Copy link
Contributor

Alan-R commented Feb 29, 2016

Here are a few things to verify in the tests

  • that it scrubs its input before looking at files - avoid the equivalent of SQL injection - no data leakage from the server
  • that it produces a few classes of correct results - fully qualified, partially qualified, best practice id only
  • that it fails on a few cases, where partially qualified would work, but fully qualified would not, where data is invalid, etc
  • others of your choosing ;-)

Do you want to consider the idea that the JSON to be returned might be malformed?

It is highly desirable that these tests should be possible to run without being root.

@Alan-R Alan-R assigned Alan-R and ejratl and unassigned Alan-R Feb 29, 2016
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

2 participants