-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat: refactor negative parsing test suite #25
Conversation
- Add script to merge negative cases csv `MergeCSV.java` - Remove extra csv files and add a general negative-cases.csv file - Some tests cases were not passing but commented them - Add extra test case for addOn.dependsOn and addOn.availableFor - Positive test suite not yet clean
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job! Just a couple of things I’d like to ask you before merging:
- I noticed that all the tests are negative cases, and the test suites with positive tests are brief and, in most cases, have tests with similar assertions hardcoded. Could you also transfer the positive tests from Pricing4TS to this repository in order to improve the robustness of the suite?
- Could you remove the
MergeCSV.java
script from the library before merging? While it was useful for completing this task more quickly, it won’t add value to the library in the future, will it? - Is it possible to add a “test_name” field or something similar to all CSVs, like those in Pricing4TS, in order to assign a name to each of the tests generated by the parameterized test? With this approach, if a test fails, we can pinpoint exactly which one is causing the issue. Right now, it seems that it would just indicate that the parameterized test has failed, but not which execution caused it.
Looking forward to your responses and changes before merging. 😉
Added to the codebase necessary validations to pass certain tests
fix: negative tests
- Some test were disable to pass ci (need a look) - Add some new test cases - Remove legacy tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect! Great job!
MergeCSV.java