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

feat: support combine mock and core server together #390

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

LinuxSuRen
Copy link
Owner

@LinuxSuRen LinuxSuRen commented Apr 21, 2024

Usage: atest server --mock-config api.yaml

@LinuxSuRen LinuxSuRen added the enhancement New feature or request label Apr 21, 2024
Copy link

github-actions bot commented Apr 21, 2024

There are 20 test cases, failed count 0:

See all test records
Name Average Max Min Count Error
createSuite 3.05642ms 3.05642ms 3.05642ms 1 0
2.372983ms 3.982722ms 1.088137ms 9 0
list-testcases-not-found 2.262391ms 2.262391ms 2.262391ms 1 0
suite 2.255858ms 2.255858ms 2.255858ms 1 0
get-testcase-not-found 2.017926ms 2.017926ms 2.017926ms 1 0
GenerateCode 1.855301ms 1.855301ms 1.855301ms 1 0
query-funcs 1.794261ms 1.794261ms 1.794261ms 1 0
ConvertTestSuite 1.708793ms 1.708793ms 1.708793ms 1 0
DeleteTestSuite 1.687891ms 1.687891ms 1.687891ms 1 0
list-stores 1.510642ms 1.510642ms 1.510642ms 1 0
ListTestCase 1.420216ms 1.420216ms 1.420216ms 1 0
suites 1.365161ms 1.365161ms 1.365161ms 1 0
GetSuggestedAPIs-no-testsuite-found 1.238693ms 1.238693ms 1.238693ms 1 0
get-popular-headers 1.180136ms 1.180136ms 1.180136ms 1 0
listConverters 1.006155ms 1.006155ms 1.006155ms 1 0
version 903.942µs 903.942µs 903.942µs 1 0
GetSecrets 788.037µs 788.037µs 788.037µs 1 0
list-code-generators 676.291µs 676.291µs 676.291µs 1 0
UpdateTestSuite 649.858µs 649.858µs 649.858µs 1 0
DeleteTestSuiteNotFound 638.403µs 638.403µs 638.403µs 1 0

Reported by api-testing.

Copy link

github-actions bot commented Apr 21, 2024

There are 23 test cases, failed count 0:

See all test records
Name Average Max Min Count Error
createSuite 3.022626557s 3.022626557s 3.022626557s 31 0
downloadTool 4.397673ms 4.397673ms 4.397673ms 31 0
downloadExtGit 4.212979ms 4.212979ms 4.212979ms 31 0
runGRPCTestCase 3.87405ms 3.87405ms 3.87405ms 5 0
createGRPCSuite 3.786909ms 3.786909ms 3.786909ms 31 0
CreateStore 3.437047ms 3.437047ms 3.437047ms 5 0
createGRPCTestCase 3.252628ms 3.252628ms 3.252628ms 31 0
updateTestCase 3.076931ms 3.076931ms 3.076931ms 5 0
getSuite 2.983833ms 2.983833ms 2.983833ms 5 0
getTestCase 2.956935ms 2.956935ms 2.956935ms 31 0
createTestCase 2.67877ms 2.67877ms 2.67877ms 31 0
updateSuite 2.59432ms 2.59432ms 2.59432ms 5 0
getGRPCTestCase 2.510292ms 2.510292ms 2.510292ms 31 0
deleteTestCase 2.349904ms 2.349904ms 2.349904ms 5 0
GetSuggestedAPIs 1.700096ms 1.700096ms 1.700096ms 5 0
popularHeaders 1.459158ms 1.459158ms 1.459158ms 5 0
oauth 1.035793ms 1.035793ms 1.035793ms 5 0
functionsQuery 826.141µs 826.141µs 826.141µs 31 0
version 756.901µs 756.901µs 756.901µs 5 0
debugCmdLine 730.507µs 730.507µs 730.507µs 5 0
favicon 689.439µs 689.439µs 689.439µs 5 0
findUnknownFunction 639.601µs 639.601µs 639.601µs 31 0
listCodeGenerator 632.975µs 632.975µs 632.975µs 5 0

e2e-testing

@LinuxSuRen LinuxSuRen force-pushed the feat/combine-handler branch from 86d0923 to f714cae Compare April 22, 2024 00:13
Copy link

codacy-production bot commented Apr 22, 2024

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+0.16% 85.11%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (1943e7d) 12560 5748 45.76%
Head commit (0938a42) 12603 (+43) 5788 (+40) 45.93% (+0.16%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#390) 47 40 85.11%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Codacy will stop sending the deprecated coverage status from June 5th, 2024. Learn more

@LinuxSuRen LinuxSuRen force-pushed the feat/combine-handler branch from f714cae to c52e97f Compare April 22, 2024 00:33
Copy link
Collaborator

@yuluo-yx yuluo-yx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@LinuxSuRen LinuxSuRen changed the title WIP: feat: support combine mock and core server together feat: support combine mock and core server together Apr 22, 2024
@LinuxSuRen LinuxSuRen force-pushed the feat/combine-handler branch from c52e97f to 0938a42 Compare April 22, 2024 13:19
Copy link

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@LinuxSuRen LinuxSuRen merged commit f4f1d4c into master Apr 22, 2024
15 checks passed
@LinuxSuRen LinuxSuRen deleted the feat/combine-handler branch April 22, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants