amoro icon indicating copy to clipboard operation
amoro copied to clipboard

[Improvement]: Improve unit test cases for Amoro project

Open zhoujinsong opened this issue 3 years ago • 1 comments

Search before asking

  • [X] I have searched in the issues and found no similar issues.

What would you like to be improved?

Unit testing is an important part of ensuring the quality of open-source projects. But the unit test cases for Arctic project seems unsatisfactory for now, as below:

  • Incomplete unit test cases, lacking test cases for completion scenarios and parameters, especially for exception scenarios
  • Test case execution is not efficient enough, easy to block on Github
  • The quality of the test code is not high enough and each module has its own test framework

How should we improve?

We should improve the quality of unit testing in several ways to achieve the final goal of improving the quality of the project:

  • Unifying the testing framework for each module
  • Develop quality standards for test code and provide samples for developers to follow
  • Complementary test cases for each module
  • Add some end-to-end test cases.

Are you willing to submit PR?

  • [X] Yes I am willing to submit a PR!

Subtasks

  • [x] #941
  • [ ] #1160
  • [ ] #1382
  • [ ] #1598

Code of Conduct

zhoujinsong avatar Dec 14 '22 07:12 zhoujinsong

for there is still a lot of work to do, i remove it from 0.5.0 milestone.

Aireed avatar Jun 20 '23 11:06 Aireed

This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.

github-actions[bot] avatar Aug 20 '24 00:08 github-actions[bot]