This is Pokemon 😄. (WIP)
Using godog and Gherkin, make behavioral tests with scripts easier to understand for developers, QA or others in the product team.
-
HTTP Client - to send http request
-
Database
- PostgreSQL (coming soon)
- MySQL (coming soon)
-
Redis (coming soon)
Tomato integrates your app and its test dependencies using a simple configuration file tomato.yml.
Create a config.yml file with your application's required test resources:
---
# Stops on the first failure
stop_on_failure: false
# All feature file paths
features_path:
- ./features
- feature-name.feature
# List of resources for application dependencies
resources:
- name: your-resource-name
type: postgres
options:
datasource: postgres://USERNAME:PASSWORD@localhost:5432/DB_NAME
- name: your-resource-name
type: httpclient
options:
base_url: http://127.0.0.1:8080Write your own Gherkin feature (or customize the check-status.feature example below) and place it inside ./features/check-status.feature:
Feature: Check my application's status endpoint
Scenario: My application is running and active
Given "your-resource-name" send request to "GET /healthCheck"
Then "your-resource-name" response code should be 200bulbasaur config.ymlPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.