| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
What problem exactly will this PR solve and why should your test become part of the Test Suite please? The result isn't meaningful or valid. |
Sorry, something went wrong.
|
Hey 🙂 This tests the methods LikeExpression.setEscape and LikeExpression.getStringExpression, which are not covered by another test as far as I can see. It is based on / inspired by the test testLikeNotIssue660. Would it be better to include a more meaninigful query instead of the 'default' null LIKE null ESCAPE null LIKE null ? Do you find it relevant to test LikeExpression.setEscape and .getStringExpression at all? 🙂 |
Sorry, something went wrong.
|
Adding test coverage is definitely good -- when the tests are meaningful and assert something. Test without purpose are considered harmful, since they pretend coverage where no insurance is provided. Better craft an actual valid Expression using the LIKE clause in combination with an ESCAPE term -- instead of NULLS. |
Sorry, something went wrong.
|
Thank you for your input and patience 🙂 I've changed the expression to match all records with names that start with letter ’J’ and have the ’_’ character in them: What do you think? |
Sorry, something went wrong.
|
Thank you, looks much better now and I would like to recommend to accept your PR. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Hey 😊
I want to contribute a test.
Curious to hear what you think!
(I wrote this test as part of a research study at TU Delft. Find out more)