Professional Documents
Culture Documents
CI/CD PROCESS
DOCKERIZING YOUR TEST PROJECT
Problem
■ Create file
– automation.conf.js
■ Add follow content
exports.config = {
"services": {
"default": {
"baseApi": "https://jsonplaceholder.typicode.com",
"header": {
"content-type": "application/json"
}
}
}
}
DEMO – Push to Docker-HUB
■ Command is executed over Cucumer
– Add file TC found “*.feature
– Location where steps found
"scripts": {
"test": "cucumber-js demo/*.feature --require node_modules/@jala/automation-core/src/*"
},
Demo – Integrate to GitLab-CI
■ Write Cucumer TC