Skip to content
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

Testing: Upgrade the unit test framework #431

Closed
healthjyk opened this issue Aug 3, 2023 · 1 comment · Fixed by #561
Closed

Testing: Upgrade the unit test framework #431

healthjyk opened this issue Aug 3, 2023 · 1 comment · Fixed by #561
Labels
kind/feature Categorizes issue or PR as related to a new feature
Milestone

Comments

@healthjyk
Copy link
Contributor

healthjyk commented Aug 3, 2023

What would you like to be added?

I'd like to upgrade the UT monkey framework from bou.ke/monkey to bytedance/mockey.

Why is this needed?

Cause bou.ke/monkey does not support for MacOs/M1, and it's already archived.
image

I have already tried some popular go monkey repos, such as agiledragon/gomonkey, but they cannot support MacOs/M1. Thus, I choose bytedance/mockey.

@healthjyk healthjyk added the kind/feature Categorizes issue or PR as related to a new feature label Aug 3, 2023
@healthjyk
Copy link
Contributor Author

Thanks to @panshuai-ps, he provides the choice of bytedance/mockey.

@ffforest ffforest changed the title Upgrade the unit test framework Testing: Upgrade the unit test framework Aug 4, 2023
@SparkYuan SparkYuan reopened this Aug 23, 2023
@ffforest ffforest added this to the 0.9.0 milestone Sep 1, 2023
Mrcopytuo added a commit to Mrcopytuo/kusion that referenced this issue Sep 26, 2023
@ffforest ffforest modified the milestones: 0.9.0, 0.10.0 Oct 7, 2023
Mrcopytuo added a commit to Mrcopytuo/kusion that referenced this issue Oct 16, 2023
Mrcopytuo added a commit to Mrcopytuo/kusion that referenced this issue Oct 16, 2023
Mrcopytuo added a commit to Mrcopytuo/kusion that referenced this issue Oct 17, 2023
Mrcopytuo added a commit to Mrcopytuo/kusion that referenced this issue Oct 18, 2023
Mrcopytuo added a commit to Mrcopytuo/kusion that referenced this issue Oct 18, 2023
Mrcopytuo added a commit to Mrcopytuo/kusion that referenced this issue Oct 18, 2023
healthjyk pushed a commit that referenced this issue Oct 20, 2023
* fix: replace test framework form monkey to mockey (#431)

* fix: remove unpatchable function (#431)

* fix: fix re-mock bugs (#431)

* fix: fix format problems and the unmockable problem due to too long function body (#431)

* fix: fix the format problem (#431)

* fix: fix the format problem (#431)

* fix: remove Chinese comments (#431)

* fix: change the test name of Test_lsReport_Human (#431)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature
Projects
None yet
3 participants