Skip to content

gh-44 remove/replace headers while recording tc#47

Open
shreyanshshah27 wants to merge 3 commits intokeploy:mainfrom
shreyanshshah27:feature/gh-44
Open

gh-44 remove/replace headers while recording tc#47
shreyanshshah27 wants to merge 3 commits intokeploy:mainfrom
shreyanshshah27:feature/gh-44

Conversation

@shreyanshshah27
Copy link
Copy Markdown

@shreyanshshah27 shreyanshshah27 commented Feb 23, 2023

@re-Tick
Copy link
Copy Markdown
Contributor

re-Tick commented Mar 1, 2023

Hi @shreyanshshah27, please make changes for mock library to remove and replace fields

Signed-off-by: Shreyansh Shah <shreyansh_shah@yahoo.com>
Signed-off-by: Shreyansh Shah <shreyansh_shah@yahoo.com>
@shreyanshshah27
Copy link
Copy Markdown
Author

Hey @re-Tick

Please review the PR, I've made the required changes in mock library to support this feature.

mock/mock.ts Outdated
testId: conf.Name,
mocks: [],
fileExport: true,
Remove: conf.Remove,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This Remove and Replace should be added in record mode. Since we filtering during recording.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are correct. I've fixed this.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Signed-off-by: Shreyansh Shah <shreyansh_shah@yahoo.com>
@re-Tick re-Tick added gsoc Google Summer of Code Don't Merge Not to be merged until gsoc results Accepted PR is reviewed and Accepted labels Mar 6, 2023
@keploy
Copy link
Copy Markdown

keploy bot commented Apr 15, 2025

Nice Pr 😄. We currently support Unit Test Generation only for Go projects.
Stay tuned – support for more languages is coming soon! 🚀

1 similar comment
@keploy-staging
Copy link
Copy Markdown

Nice Pr 😄. We currently support Unit Test Generation only for Go projects.
Stay tuned – support for more languages is coming soon! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Accepted PR is reviewed and Accepted Don't Merge Not to be merged until gsoc results gsoc Google Summer of Code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feature]: add a filter for request header fields

2 participants