Commit Graph

71 Commits

Author SHA1 Message Date
Rick d564f69c9c
feat: adding resource loader interface and default implement (#95) 2023-06-18 17:43:32 +08:00
Rick 5a3b1143a3
chore: order the source code about runner (#93) 2023-06-16 14:58:53 +08:00
Rick 2520e80a9c
feat: support to calculate the API coverage (#89)
* feat: support to calculate the API coverage

* feat: add brace expansion support
2023-06-14 10:32:28 +08:00
Rick 909341b223
feat: support to output the HTML report (#88)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2023-06-12 08:37:57 +08:00
Rick 1fd4586712
feat: put atest-collector into the image (#87)
* feat: put atest-collector into the image

* doc: add instructions about how to use in Docker
2023-06-08 17:27:40 +08:00
Rick ec32ff386c
feat: support to set upstream proxy address (#86) 2023-06-08 11:14:11 +08:00
Rick 8da089067c
feat: add a HTTP request collector as atest extension (#85)
* feat: add a HTTP request collector as atest extension

* add unit tests for collector

* add unit tests

* support to release atest-collector via goreleaser

---------

Co-authored-by: Rick <linuxsuren@users.noreply.github.com>
2023-06-07 22:59:47 +08:00
Rick b0b9bf8913
add unit tests for func cmd (#84)
Co-authored-by: Rick <linuxsuren@users.noreply.github.com>
2023-06-04 14:03:01 +08:00
Rick dc667845b9
docs: add more test cases of answer (#82)
Co-authored-by: Rick <linuxsuren@users.noreply.github.com>
2023-06-02 08:52:28 +08:00
Rick 73f8555d0e
docs: improve the k8s manifests about podAntiAffinity (#80) 2023-05-31 23:08:25 +08:00
Rick 09b58601c6
feat: support to reference in the request body (#79)
* feat: support to reference in the request body

* add more test cases of answer platform

---------

Co-authored-by: Rick <linuxsuren@users.noreply.github.com>
2023-05-30 21:44:22 +08:00
Rick 768098757f
feat: support to generate sample YAML via grpc (#76) 2023-05-30 13:48:41 +08:00
Rick eee87cc913
feat: support to install service on macos (#75)
Co-authored-by: Rick <linuxsuren@users.noreply.github.com>
2023-05-28 09:57:08 +08:00
Rick 8e832ee431
feat: support saving markdown report to a file (#74)
Co-authored-by: Rick <linuxsuren@users.noreply.github.com>
2023-05-28 09:13:08 +08:00
Rick 54b1194753
chore: add a badge of LoC (#71) 2023-05-24 19:51:21 +08:00
Rick efd0a1da1e
fix: the data parent directory is missing (#70) 2023-05-24 19:31:24 +08:00
Rick 2884073ae6
feat: support running before and after jobs with API request (#69) 2023-05-18 09:51:35 +08:00
Rick 2a3c594562
chore: ignore the test report when actor is not linuxsuren (#67) 2023-05-10 18:17:39 +08:00
Yanjun Shi c398b735ed
Modidy Command Service exec-start mode (#66) 2023-05-10 13:20:52 +08:00
Rick 943aeb9ba5
doc: add a badge into README.md (#65) 2023-05-09 21:41:46 +08:00
wongearl bb745044bc
fix: Define a constant instead of duplicating this literal "Bearer {{.login.data.access_token}}" 3 times. (#62) 2023-05-08 17:43:39 +08:00
Rick 6d582330ae
feat: support verify the specific k8s resource count (#57)
* feat: support to verify specific k8s resources count
2023-05-06 09:03:45 +08:00
Rick a025888f5d
chore: skip the test report when owner is not linuxsuren (#61) 2023-05-05 16:54:25 +08:00
wongearl dcff0a32f8
fix: reduce cognitive complexity (#60) 2023-05-05 16:43:30 +08:00
Rick 15c47927b8
feat: giving error info when having duplicated names (#59) 2023-04-28 13:16:22 +08:00
Rick 5af79c7d26
fix: the service status output is missing (#58) 2023-04-27 09:11:06 +08:00
Rick e27be10483
fix: cannot find the correct parent test cases (#56) 2023-04-26 21:14:38 +08:00
Rick 9df7a6663a
fat: add template function randomKubernetesName (#48) 2023-04-24 12:20:49 +08:00
Rick 607818fd4b
feat: support run the specify test cases instead of all (#50)
Co-authored-by: Rick <linuxsuren@users.noreply.github.com>
2023-04-23 09:14:22 +08:00
Rick 45a4d5166a
feat: support to validate the YAML file via schema (#49) 2023-04-21 22:29:24 +08:00
Rick 49441573e8
fix the duplicates (#44)
* fix the duplicates

* improve the function RunTestCase
2023-04-21 08:41:56 +08:00
Rick f663b697bd
chore: add more samples about how to use the HTTP request (#47) 2023-04-21 08:41:02 +08:00
Rick 9901cec432
doc: add an introduction about this project (#42) 2023-04-20 17:49:28 +08:00
Haiker Sun 65bc3ce1e9
Update README.md for atest run --report args error (#45) 2023-04-20 17:49:00 +08:00
Rick 6aed29e0b2
fix: the code smells from sonarqube (#43) 2023-04-18 12:25:55 +08:00
Rick f6d271b7eb
feat: support verify against Kubernetes resources (#41)
* feat: support check the response againt k8s

* feat: support all the CRDs

* feat: support to verify fields

* add more unit tests
2023-04-15 21:47:50 +08:00
Rick e08c2046d5
feat: add a service commnd (#39)
* feat: add a service commnd

The following command will install atest as a Linux service. `atest service --action install`.

Set the default service port to be 7070 to avoid confliction

* add unit tests

* add more unit tests
2023-04-14 09:32:24 +08:00
Rick 9ee38ffc17
feat: support to validate the response via JSON schema (#38) 2023-04-12 13:31:52 +08:00
Rick 2f93d1d029
chore: remove redundant log output (#36) 2023-04-11 14:57:26 +08:00
Rick 52ce27d397
feat: support with nested parent test cases (#35) 2023-04-10 12:22:06 +08:00
Rick a27b13aae1
feat: return error message in the grpc server (#34) 2023-04-08 20:34:31 +08:00
Rick a941923526
feat: support to set the log level (#33) 2023-04-08 18:27:21 +08:00
Rick 19a07a211b
feat: support finding the parent test cases (#32) 2023-04-06 22:26:19 +08:00
Rick a55b86b51e
feat: support to print the JSON schema of the TestSuite struct (#31) 2023-04-06 17:40:38 +08:00
Rick 578e64bac9
feat: support to pass env in the grpc server (#29) 2023-04-06 11:04:50 +08:00
Rick 82f2fdf849
feat: support to run a specific test case via grpc (#28)
Co-authored-by: Rick <linuxsuren@users.noreply.github.com>
2023-04-05 18:59:08 +08:00
Rick 3720aca07f
fix the base image (#26)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2023-04-04 14:13:16 +08:00
Rick d8549db1eb
fix the dockerfile build process (#24)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2023-04-04 13:28:18 +08:00
Rick e2340a20a8
feat: add grpc server support (#22)
* feat: add grpc server support

* publish image

---------

Co-authored-by: Rick <linuxsuren@users.noreply.github.com>
2023-04-04 13:18:51 +08:00
Rick 136e82de50
feat: support to show the QPS in the report (#21) 2023-04-02 14:51:00 +08:00