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

Added a ResourceReader that can retrieve test resource files in nested locations #556

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

drivenflywheel
Copy link
Collaborator

Allows decoupling from the default ".dat" file naming scheme and flat directory structure. Primarily intended for use by IdentificationTests that can benefit from more content-representative test file names. Along with PR #555, this will allow IdentificationTests to specify a payload's "expected form" via directory name rather than file name, without explicitly requiring an answer XML file.

With the initial commit, test data files should be stored anywhere below the TestClassName/payloads folder. Answer files (when needed) should be in mirrored paths below the TestClassName/answers folder.

Given the fairly large break with existing convention, I thought it would be prudent to keep this functionality out of the base ResourceReader class so devs would not accidentally select the new methods via autocomplete.

@jpdahlke jpdahlke added the enhancement An enhancement to an existing feature label Oct 2, 2023
…s that aren't tightly coupled to the default file naming schemes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants