End to end test runner for QA Engineer to run test cases & scenario sequentially
- Entry level QA automation
- Complete documentation of our test scenario in
Github - Run test scenario in CI/CD pipeline
- Install
packrusinggo get -u github.com/gobuffalo/packr/packr - Checkout this repo
cd mississippidep ensure -v
cd cmdgo run main.go -domain=apartment
cd cmdpackr build -o testsuite./testsuite -domain=apartment
The domain flag determine which folder inside pkg we want to run.
So -domain=apartment means we are running all tests scenario under pkg/apartment
- QA works inside
pkgfolder - Folders under
pkgare considered as testscenario jsonfiles underscenariois considered as individual testcasescenario.jsonfile is a special file we use to describe our testscenario
{
"name" : "I am scenario name",
"description" : "Describe your test goal / acceptance criteria"
}{
"order": 1,
"name": "Firebase Auth",
"description": "Authenticate to firebase",
"request": {
"url": "https://www.googleapis.com/identitytoolkit/v3/relyingparty/verifyPassword?key=MY_SECRET_APIKEY",
"method": "POST",
"headers": null,
"payload": {
"email": "someone@spacestock.com",
"password": "mypassword",
"returnSecureToken": true
}
},
"expect": {
"status_code": 200,
"headers": null,
"evaluate": null
},
"pipeline": {
"cache": true,
"cache_as": "auth",
"on_failure": "exit"
}
}- Dockerize
- Deploy
- Integrate