keploy / keploy

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

fix: handle panic in case of empty test case file #1840

Open kidminks opened 4 weeks ago

kidminks commented 4 weeks ago

Related Issue

Closes: #1755

Describe the changes you've made

I have added a check in testDb/utils.go > Decode() to handle nil yamlTestCase due to which panic was occurring. Decode function will return error with message test case not present incase test is empty

Type of change

github-actions[bot] commented 4 weeks ago

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

kidminks commented 4 weeks ago

I have read the CLA Document and I hereby sign the CLA

kidminks commented 4 weeks ago

recheck

shivamsouravjha commented 2 weeks ago

hey @kidminks any update on this?