Skip to content

Export all users from users.yaml to test_users.csv #60

@Aravinda-HWK

Description

@Aravinda-HWK

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:

  1. All users in users.yaml are represented in test_user.csv.
  2. Script or method can be re-run without errors or duplicates.
  3. 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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions