Description:
Currently, when we add users, they are only appended to the users.yaml file. For testing purposes, we need a way to extract all users from users.yaml and store them in test_user.csv.
This issue is primarily an investigation task to determine the best approach to automate this process.
Goals:
- Read all user entries from
users.yaml.
- Export user information (e.g.,
username, email, etc.) into test_user.csv.
- Ensure the CSV format is consistent and usable for test automation.
- Avoid overwriting or losing existing data in the CSV if required.
Acceptance Criteria:
- All users in
users.yaml are represented in test_user.csv.
- Script or method can be re-run without errors or duplicates.
- CSV file is compatible with existing test frameworks(Locust).
Investigation Points:
- Best method to parse users.yaml in the current tech stack (Python, Bash, etc.).
- How to handle existing entries in test_user.csv.
- How to schedule or trigger this export (manual script, part of setup, CI pipeline).
Description:
Currently, when we add users, they are only appended to the users.yaml file. For testing purposes, we need a way to extract all users from users.yaml and store them in test_user.csv.
This issue is primarily an investigation task to determine the best approach to automate this process.
Goals:
users.yaml.username,email, etc.) intotest_user.csv.Acceptance Criteria:
users.yamlare represented intest_user.csv.Investigation Points: