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

Specifying directories in a test suite EDN #14

Open
jennet opened this issue Oct 17, 2018 · 0 comments
Open

Specifying directories in a test suite EDN #14

jennet opened this issue Oct 17, 2018 · 0 comments

Comments

@jennet
Copy link

jennet commented Oct 17, 2018

e.g.

{:rdf-cube ["qb"]
}

Currently if a test suite refers to a directory instead of a file, the validator tries to run qb as if it's a file and returns the error

1 /file/path/to/rdf-validator/queries/qb: ERRORED
	queries/qb (Is a directory)

We should either:

  • handle the error when parsing the test suite, and report a user friendly error message
    or
  • get all the files contained within the directory and load them into the map of files to run
@lkitching lkitching mentioned this issue Oct 22, 2018
jennet pushed a commit that referenced this issue Mar 3, 2020
Issue #14 - Allow test suites to reference test directories as well
as individual test files. Directories are loaded in the same way as
directory suites except the containing test suite is defined in the
test file and not inferred from the directory name.
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

1 participant