geostyler / geostyler-cli

BSD 2-Clause "Simplified" License
22 stars 8 forks source link

Create tests for CLI #337

Closed KaiVolland closed 1 month ago

KaiVolland commented 1 year ago

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

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

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 commented 1 year ago

Several of the above are covered in the new test script in https://github.com/geostyler/geostyler-cli/pull/343

KaiVolland commented 1 month ago

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