Commit Graph

207 Commits

Author SHA1 Message Date
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
Rick e57743633b
feat: support to print a sample YAML (#20)
Co-authored-by: Rick <linuxsuren@users.noreply.github.com>
2023-04-02 11:50:43 +08:00
Rick 5ebb0e9cd9
fix: could not skip the error when given flag (#19) 2023-04-01 21:21:24 +08:00
Rick 078d4c861b
feat: support output the test report (#17)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2023-04-01 19:00:50 +08:00
Rick 4a4554d53b
feat: support to set the request timeout (#15) (#16)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2023-03-30 20:52:15 +08:00
Rick 35008323d8
feat: support to set the request timeout (#15)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2023-03-30 19:44:49 +08:00
Rick 8564fc1e24
feat: support to run tests with multiple threads (#13)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2023-03-22 12:30:14 +08:00
Rick 7c4f12c79e
remove the unnecessary output (#12) 2023-03-12 15:08:28 +08:00
Rick cbefc17646
fix: the coverage baddge link is incorrect (#11) 2023-03-10 20:55:06 +08:00
Rick 0ad1515381
feat: add API and expect status code default value (#10) 2023-03-10 15:42:19 +08:00
Rick 3ae751826d
feat: add normal form request support (#9)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2023-03-08 20:43:44 +08:00
Rick e1270c748e
feat: support form request (#8)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2023-03-08 17:32:53 +08:00
Rick d07c7f2a99
chore: build with gorelease in the pr (#5) 2023-03-05 20:16:03 +08:00
Rick da2952e1bf
test: add unit tests (#3)
Co-authored-by: Rick <linuxsuren@users.noreply.github.com>
2023-03-05 16:25:20 +08:00
Rick e52246454c
feat: improve the HTTP request payload and expect (#2)
* feat: improve the HTTP request payload and expect

* add unit tests

---------

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2023-03-05 11:32:27 +08:00