keploy / keploy

Test generation for Developers. Generate tests and stubs for your application that actually work!
https://keploy.io
Apache License 2.0
3.4k stars 375 forks source link

[docs]: wait, but you guys do not write any unit test? #1794

Closed xhd2015 closed 1 month ago

xhd2015 commented 1 month ago

What do you want to add to the docs? (please state reasons if any)

Didn't see any _test.go in the source code

Where is this stated?

The repository

Repository

keploy

github-actions[bot] commented 1 month ago

Thank you and congratulations 🎉 for opening your very first issue in keploy

nehagup commented 1 month ago

Hi @xhd2015, nice catch! that is on purpose - since we want to test keploy using keploy (like we did in v1).

we just went through a major refactoring of the keploy code base with v2 and would achieve 75%+ coverage by testing keploy with keploy.

Here is the PR - https://github.com/keploy/keploy/pull/1776

This is how we did it in V1 - https://github.com/keploy/keploy/blob/v1/cmd/server/main_test.go

xhd2015 commented 1 month ago

@nehagup Sounds crazy, however my interest arises... Thanks for your replying, I'll dig more.

nehagup commented 1 month ago

Hi @xhd2015 closing this issue for now, however, please feel free to re-open the issue if you may have any further questions. :)