Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logs the mode and description of keploy #75

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

frey0-0
Copy link

@frey0-0 frey0-0 commented Mar 24, 2023

Fixes #390

  • Adds logs in the constructor of keploy class and mock.ts
  • Uses mode.GetMode() to get the mode instead of process.env as the mode in the .env can be some other than test, record or off
  • Add a modeDescription() function to log the description as writing a switch case or if there seemed to reduce the readability of the code

Signed-off-by: Tanmay Bajaj <tanmaybajaj567@gmail.com>
Signed-off-by: Tanmay Bajaj <tanmaybajaj567@gmail.com>
@re-Tick
Copy link
Contributor

re-Tick commented Mar 26, 2023

LGTM

@re-Tick re-Tick added Don't Merge Not to be merged until gsoc results Accepted PR is reviewed and Accepted labels Mar 26, 2023
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feature]: need to log the keploy mode
2 participants