Replies: 6 comments 1 reply
-
Hi, @haeter525 nicely work! Here are my advice and questions.
I suggest you add more details to explain these two things.
Why "only" these three files you want to enrich the tests?
Can you explain how you do the risk assessment and how do you evaluate priority? I've read the issue but still don't understand it clearly.
Is it necessary to apply all existing tests? |
Beta Was this translation helpful? Give feedback.
-
Hi @haeter525,
If that is correct, how you defined each probability and severity level.
|
Beta Was this translation helpful? Give feedback.
-
Yes, that's how it works! Here are the level details for the probability. According to the execution frequency, may apply at most one rank bias on a file (e.g., Frequent and Probable below.).
And here are the details for the severity.
The severity level "Critical" now includes |
Beta Was this translation helpful? Give feedback.
-
Nice, I think you're good to go. |
Beta Was this translation helpful? Give feedback.
-
Hi @pulorsok , I have reworded statements to the top comment. Can you kindly have a look again? Sorry for taking your time. Here are the modifications.
The reason is to be in line with a conclusion with the mentor.
Here is the link. Thank you for your kindly help. |
Beta Was this translation helpful? Give feedback.
-
Correct me if I'm wrong. When do you plan to refactor/enrich other files? |
Beta Was this translation helpful? Give feedback.
-
Title: Refactor/enrich the tests of the analysis part of modules
Description
Please refer to here. I want to write tests to increase the test coverage for Quark. This is the first PR.
In this PR, I focus on these files.
Why are these files first?
How are you going to do it?
In summary, I follow the guideline and the strategies mentioned in the issue.
For the existing tests
Divide them into individual methods according to their test scenarios.
The goal is to make scenarios distinct for spotting the potential tests.
For the potential tests
Code Changes
Note
I found a strangle behavior in
_invoke()
atpyeval.py
. No matter the invoked function gives a return value or not, it changes the value of the return registerret_stack
.test_pyeval.py
test_quark.py
test_tableobject.py
test_registerobject.py
Related Discussion
Hi @pulorsok
The above is an issue I'm going to submit. Can you kindly do a review on this? I will appreciate that!
Beta Was this translation helpful? Give feedback.
All reactions