Convert user stories from CSV files into individual TestDriver test files using Node.js and GitHub Actions.
user_stories.csv
):User Story ID | User Story Title | Description |
---|---|---|
1 | Log in to the application | User logs in with valid credentials. |
2 | Search for a product | User searches for a product by name. |
3 | Add product to cart | User adds a product to the cart. |
generate-tests.js
)test_1.yaml
, test_2.yaml
) in the testdriver/
directory.
.github/workflows/run-tests.yaml
)TD_API_KEY
) to securely authenticate your tests.
generate-tests.js
script, user_stories.csv
, and .github/workflows/run-tests.yaml
to your repository.main
branch.testdriver/
directory.testdriver/test_1.yaml
testdriver/test_2.yaml
testdriver/test_3.yaml