end-to-end-tests
进行更改后,运行端到端测试以确保产品仍然正常工作。
📖 中文导读:进行更改后,运行端到端测试以确保产品仍然正常工作。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: end-to-end-tests description: after making changes, run end-to-end tests to ensure that the product still works allowed-tools: make, go
End-to-end tests
Instructions
When you are done making changes, run all end-to-end tests through this command:
make cuke
If the exit code is 1, read the error messages and fix all errors, then re-run the end-to-end tests until they run successfully and exit with code 0.
End-to-end tests are defined in the "features" folder. They are written in the Gherkin language and execute using Cucumber for Go.
If an end-to-end test fails, you can re-run only this test to verify that your fix works:
- Add the
@debug @thistag to a specific scenario - Run
make cukethisto execute only the tagged scenario - when the test passes, remove the
@debug @thistags