keploy
keploy copied to clipboard
[feature]: download all generated test cases
Is there an existing feature request for this?
- [X] I have searched the existing issues
Summary
- download all the generated test cases
- place them into original code and works with go test
Why should this be worked on?
All tech teams demand high test coverage of all programs. We use bamboo to run pipeline of unit tests. Maybe we can download the test cases generated by kepoly and use them in bamboo pipelines. If this works , it can save lots of time of writing unit test code.
Thank you and congratulations 🎉 for opening your very first issue in keploy
@luudis thanks for creating the feature request :)
We are working on the design of code export feature.
For now, have you tried the go test
integration which you could use with bamboo? - https://github.com/keploy/keploy#integration-with-native-go-test-framework
Its also available in the sample application - https://github.com/keploy/samples-go/blob/main/echo-sql/main_test.go
This should allow you to run keploy tests along with your existing units tests with go test
anywhere including bamboo.
This would be great to have.
We've started working on this.
Tests will be exported as YAML files and be editable by the user. Mocks will also be exported separately and can be used in isolation. Mongo would then become optional and test files would directly execute on keploy
@slayerjain I am glad to hear this. It will be an awesome feature for us!
Done by #175