This PR refactors a little bit the code structure, to stand closer to Go idioms. Each commit represent a change, so it's easier to follow the changes in it. Major highlights:
Use testdata dir for test resources. We are also building the paths using the path/filepath package.
Move tests to a test package in order to consume the microcks module as a real consumer of the module.
Proper error handling. Also return errors from the module instead of calling log.Fatal, to allow the consumers of the module to react on errors.
Add of a GH workflow for running the tests
Add dependabot updates, using a monthly schedule on Sundays.
Change API methods for TestEndpoint and ImportArtifact to accept a context, so that consumers of the module can control the execution with eventual timeouts or cancellations.
Remove println and instead use the testing package for prints
Bump testcontainers-go to its latest release: v0.26.0
Description
This PR refactors a little bit the code structure, to stand closer to Go idioms. Each commit represent a change, so it's easier to follow the changes in it. Major highlights:
path/filepath
package.