kairoaraujo / goca

Golang Certificate Authority (CA) package
MIT License
38 stars 14 forks source link

make unit test suite cross-platform #17

Open necheffa opened 1 year ago

necheffa commented 1 year ago

Currently, unit tests executed via go test require a Unix-like environment for execution.

This is due to a Unix-style relative path being set as CaTestFolder in goca_test.go as well as some Unix-style relative paths in the caPathInit() function, currently defined in storage.go, specifically for handling testing.

Improving the cross-platform compatibility in these locations would make it easier to support Windows as a development platform.