Skip to content

Create tests for the itbp.py program #9

@Alan-R

Description

@Alan-R

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions