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 CLI #337

Closed
KaiVolland opened this issue Apr 26, 2023 · 2 comments
Closed

Create tests for CLI #337

KaiVolland opened this issue Apr 26, 2023 · 2 comments
Assignees

Comments

@KaiVolland
Copy link
Contributor

Currently there are no tests for the functionality of the geostyler-cli.

It would be nice if we can find a way to test:

  • all the option parameters
  • expected structure of nested files and folders
  • behaviour of mixed files in a folder (e.g. folder includes *.txt. *.jpg files)

IMHO the content of the created files should not be tested as this is in the responsibility of the parsers themselves.

Maybe @marcjansen has an idea of how we could test this as this is outside of the JS scope and I have not much experience on testing things on the filesystem base.

@geographika
Copy link
Collaborator

Several of the above are covered in the new test script in #343

@KaiVolland
Copy link
Contributor Author

I close this as @geographika thankfully added tests some time ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: In Progress
Development

No branches or pull requests

3 participants