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

smoke: support async test cases #1053

Merged
merged 1 commit into from
Feb 4, 2023

Conversation

ccx1024cc
Copy link
Contributor

It provides both dynamic and static/common way to define test cases. The dynamic way generates test cases by customized generator in runtime. The static way executes cases which are defined in compiling.

It also provides both synchronized and asynchronous way to run test cases. The asynchronous/synchronized control is suite-leveled.

Compared with github.com/onsi/ginkgo, this framework provides simpler way to organize cases into suite, which requires less learing of terms and less nested definitions. Moreover, the asynchronous run is more golang-natived, which requires no other binary.

Compared with github.com/stretchr/testify, this framework provides asynchronous mode and dynamic way to generate cases.

Signed-off-by: 泰友 [email protected]

@ccx1024cc ccx1024cc requested a review from a team as a code owner February 3, 2023 09:12
@ccx1024cc ccx1024cc requested review from bergwolf, changweige and hsiangkao and removed request for a team February 3, 2023 09:12
@anolis-bot
Copy link
Collaborator

@ccx1024cc , a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/47830

@ccx1024cc ccx1024cc force-pushed the morgan/test_framework branch from 91f2d07 to 393ec12 Compare February 3, 2023 09:19
@anolis-bot
Copy link
Collaborator

@ccx1024cc , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/47833

@anolis-bot
Copy link
Collaborator

@ccx1024cc , The CI test is completed, please check result:

Test CaseTest Result
merge-target-branch✅ SUCCESS
build-docker-image✅ SUCCESS
compile-nydus✅ SUCCESS
compile-ctr-remote✅ SUCCESS
compile-nydus-snapshotter✅ SUCCESS
start-nydus-snapshotter-config-containerd✅ SUCCESS
run-container-with-nydus-image❌ FAIL

Sorry, your test job failed. Please get the details in the link.

It provides both dynamic and static/common way to define test cases. The dynamic
way generates test cases by customized generator in runtime. The static way executes
cases which are defined in compiling.

It also provides both synchronized and asynchronous way to run test cases. The
asynchronous/synchronized control is suite-leveled.

Compared with github.com/onsi/ginkgo, this framework provides simpler way to organize
cases into suite, which requires less learing of terms and less nested definitions.
Moreover, the asynchronous run is more golang-natived, which requires no other binary.

Compared with github.com/stretchr/testify, this framework provides asynchronous mode
and dynamic way to generate cases.

Signed-off-by: 泰友 <[email protected]>
@anolis-bot
Copy link
Collaborator

@ccx1024cc , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/47853

@anolis-bot
Copy link
Collaborator

@ccx1024cc , The CI test is completed, please check result:

Test CaseTest Result
merge-target-branch✅ SUCCESS
build-docker-image✅ SUCCESS
compile-nydus✅ SUCCESS
compile-ctr-remote✅ SUCCESS
compile-nydus-snapshotter✅ SUCCESS
start-nydus-snapshotter-config-containerd✅ SUCCESS
run-container-with-nydus-image❌ FAIL

Sorry, your test job failed. Please get the details in the link.

@anolis-bot
Copy link
Collaborator

@ccx1024cc , The CI test is completed, please check result:

Test CaseTest Result
merge-target-branch✅ SUCCESS
build-docker-image✅ SUCCESS
compile-nydus✅ SUCCESS
compile-ctr-remote✅ SUCCESS
compile-nydus-snapshotter✅ SUCCESS
start-nydus-snapshotter-config-containerd✅ SUCCESS
run-container-with-nydus-image❌ FAIL

Sorry, your test job failed. Please get the details in the link.

@jiangliu jiangliu merged commit fadc715 into dragonflyoss:master Feb 4, 2023
@ccx1024cc ccx1024cc deleted the morgan/test_framework branch February 6, 2023 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants