Skip to content

Conversation

@chadell
Copy link
Contributor

@chadell chadell commented Nov 19, 2021

Please, review this proposal of refactor before jumping into the tests.

New style:

netcompare_check = CheckType.init(check_type_info, options)
pre_result = netcompare_check.extract_value_from_json_path(pre_obj, path)
post_result = netcompare_check.extract_value_from_json_path(post_obj, path)
netcompare_check.evaluate(pre_result, post_result)

@lvrfrc87
Copy link
Collaborator

LGTM! I will now merge so I can start to work on refactoring. In case someone has to add more, can do it later I would say

@lvrfrc87 lvrfrc87 merged commit 3671f07 into main Nov 19, 2021
@lvrfrc87 lvrfrc87 deleted the library-api branch November 19, 2021 09:14
lvrfrc87 added a commit that referenced this pull request Jun 13, 2023
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.

3 participants