Skip to content

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

Open
vaibhavramchandani wants to merge 12 commits intojson-path:masterfrom
vaibhavramchandani:master
Open

Added test cases for JsonFormatter class and refactored the code base #1008
vaibhavramchandani wants to merge 12 commits intojson-path:masterfrom
vaibhavramchandani:master

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.

1 participant