Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/loggie-io/loggie-test
test loggie
https://github.com/loggie-io/loggie-test
Last synced: 20 days ago
JSON representation
test loggie
- Host: GitHub
- URL: https://github.com/loggie-io/loggie-test
- Owner: loggie-io
- License: apache-2.0
- Created: 2022-08-12T06:08:10.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-01T02:49:42.000Z (almost 2 years ago)
- Last Synced: 2024-11-05T13:17:17.440Z (2 months ago)
- Language: Go
- Homepage:
- Size: 10.1 MB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Loggie test
Loggie test is a project for automated testing of Loggie, mainly including:
- e2e test: end-to-end test from the consumption (collection) source to the functional test sent to the sink, mainly used to verify the correctness of the function
- Performance test: including regularly obtaining Loggie's indicators at this time and generating charts
- Chaos test: test and verification of some abnormal scenarios, such as frequent reload, whether it will cause abnormal data sent by Loggie#### Code structure
- /e2e: end-to-end test
- /performance: performance test
- /chaos: chaos test
- /pkg
- /env: abstractly represents the environment information of the test, the environment will initialize the following dependent resources
- /resources: Represents resources, including externally dependent services, such as Elasticsearch, etc.
- /cfg: The configuration structure of each test set, mainly including resources and cases
- /report: metrics graph output#### Contributing
1. Identify the classification of the test set to be written (e2e/performance/chaos), and then refer to the existing code in the corresponding directory structure, and add or modify it.
2. The test framework uses [ginkgo](https://github.com/onsi/ginkgo) and [gomega](https://github.com/onsi/gomega). Please understand the basic usage of the framework first.