Search before asking
Use case
Useful for running full-blown end-to-end tests against Devlake in a simplified fashion.
Description
Write a Go client so we can spin up a quick Devlake server in-memory using a main-function/test-case. This is useful for when there is no UI. People use curl to hit these endpoints, but it is much more convenient to keep everything in Go and have the client use Go datatypes instead of raw JSONs where possible. Additionally, this allows us to compile select plugins as part of the server code, which is almost instant; as opposed to compiling them into *.so libraries everytime we make a change to test, which is also slower.
I have been using this in a private directory for a couple of months and it has been massively useful and efficient for me.
Related issues
Done as part of #3701
Are you willing to submit a PR?
Code of Conduct
Search before asking
Use case
Useful for running full-blown end-to-end tests against Devlake in a simplified fashion.
Description
Write a Go client so we can spin up a quick Devlake server in-memory using a main-function/test-case. This is useful for when there is no UI. People use curl to hit these endpoints, but it is much more convenient to keep everything in Go and have the client use Go datatypes instead of raw JSONs where possible. Additionally, this allows us to compile select plugins as part of the server code, which is almost instant; as opposed to compiling them into *.so libraries everytime we make a change to test, which is also slower.
I have been using this in a private directory for a couple of months and it has been massively useful and efficient for me.
Related issues
Done as part of #3701
Are you willing to submit a PR?
Code of Conduct