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

Added test cases for JsonFormatter class and refactored the code base #1008

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

vaibhavramchandani
Copy link

I have added test cases in the JsonFormatter Class increasing the overall test code.
code-coverage

Additionally, I have refactored the codebase, working on both implementation smells and design smells. For implementation smells, I used the following methods:

Extract method
Introduce explaining variable
Decompose conditional

For design smells, I used the following techniques to refactor the code:

Move method/field
Extract class
Change bidirectional association to unidirectional association
Please let me know if there's anything else you'd like to modify or if you need further assistance!

Vaibhav Ramchandani added 12 commits March 2, 2024 13:06
This class is in com.jayway.jsonpath.internal package.Add cases to cover the following:
-Simple Json Object, Json Object Array
-Json With Escaped Characters,Json Object with Escaped Characters
This class is in com.jayway.jsonpath.internal package.Add cases to cover the following:
-Simple Json Object, Json Object Array
-Json With Escaped Characters,Json Object with Escaped Characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant