Tags: kalbhor/go-sdk
Tags
adds a check for running in test mode without db connection (keploy#71) * feat(mongo): Adds Distinct, CountDocuments and Aggregate methods to mock their outputs. * fix(keploy): adds a delay in between capture and denoise calls to keploy server delay is necessary to capture the noise fields of response accurately * fix(kmongo): adds a check for nil pointer to prevent crash in find, findone mocked method refactors kmongo code to improve maintainence #63 * feat(kmux): adds a middleware function for gorilla/mux multiplexer #66 * fix(khttpClient): adds an interceptor for http client to mock the outputs of external http calls * docs: fixed typo in sql driver's example * fix(khttpClient): register types to gob and fixes UnmarshalBinay method of ReadCloser to decode gcp response in UnmarshalBinary method, the b byte array contents are copied to a temp byte array to prevent alteration in the given parameter b byte array * docs(gcp): adds an example in readme for a gcp compute * fix(ksql): run the mocked outputs of sql queries when database is down #70 * fix(ksql): keploy sql driver methods returns the sql/driver errors instead of KError.Err This is done because sql package compares errors by using == or errors.Is so, errors should be same instances. Co-authored-by: Ritik Jain <ritikjain@Ritiks-MacBook-Air.local>
feat(mux) : Adds support for Gorilla/Mux multiplexer and refactor mon… …go (keploy#67) * feat(mongo): Adds Distinct, CountDocuments and Aggregate methods to mock their outputs. * fix(keploy): adds a delay in between capture and denoise calls to keploy server delay is necessary to capture the noise fields of response accurately * fix(kmongo): adds a check for nil pointer to prevent crash in find, findone mocked method refactors kmongo code to improve maintainence #63 * feat(kmux): adds a middleware function for gorilla/mux multiplexer #66 Co-authored-by: Ritik Jain <ritikjain@Ritiks-MacBook-Air.local>
fix(kmongo): fixes nil pointer exception when mongo database is down (k… …eploy#65) * feat(mongo): Adds Distinct, CountDocuments and Aggregate methods to mock their outputs. * fix(keploy): adds a delay in between capture and denoise calls to keploy server delay is necessary to capture the noise fields of response accurately * fix(kmongo): adds a check for nil pointer to prevent crash in find, findone mocked method refactors kmongo code to improve maintainence #63 Co-authored-by: Ritik Jain <ritikjain@Ritiks-MacBook-Air.local>
fix(keploy): adds a delay in between capture and denoise calls to kep… …loy server (keploy#62) * feat(mongo): Adds Distinct, CountDocuments and Aggregate methods to mock their outputs. * fix(keploy): adds a delay in between capture and denoise calls to keploy server delay is necessary to capture the noise fields of response accurately Co-authored-by: Ritik Jain <ritikjain@Ritiks-MacBook-Air.local>
feat: add pagination in fetch testcase #47 and add concurrency in test ( keploy#49) * feat: integrated chi mux for keploy sdk * feat:add concurrency in test * feat:add pagination in sdk fetch testcase * fix(test-concurrency): fix concurrent map access issue during testing * fix(test-concurrency): fix concurrent map access issue during testing * docs: update readme with new method * docs(readme): update indentation and structure snippets Co-authored-by: slayerjain <shubhamkjain@outlook.com>
PreviousNext