Services and databases

Database services

Application testing in Buddy is performed with build actions.

Database services can be attached to all types of build actions. The following microservices are currently supported:

By default, the services are disabled. You can activate them in the Services tab:

Each service runs as a separate container. The containers are run in the same network, so they are accessible from within each other.

Services tab

MySQL

MySQL service configuration

The MySQL service requires:

  • Version
  • Hostname
  • Login and password

To use MySQL in your tests, you need to copy the Hostname, Login and Password that you entered in the action details:

Checking 'Cache database between executions' will make current execution data available for future executions. You can use this option to speed up your builds, since not every execution has to seed the database.

MariaDB

MariaDB service configuration

The MariaDB service requires:

  • Version
  • Hostname
  • Login and password

To use MariaDB in your tests, you need to copy the Hostname, Login and Password that you entered in the action details:

Checking 'Cache database between executions' will make current execution data available for future executions. You can use this option to speed up your builds, since not every execution has to seed the database.

Redis

Redis service cofiguration

The Redis service requires:

  • Version
  • Hostname

To use Redis in your tests, you need to copy the Hostname that you entered in the action details:

Checking 'Cache database between executions' will make current execution data available for future executions. You can use this option to speed up your builds, since not every execution has to seed the database.

MongoDB

MongoDB service configuration

The MongoDB service requires:

  • Version
  • Hostname

To use MongoDB in your tests, you need to copy the Hostname that you entered in the action details:

Checking 'Cache database between executions' will make current execution data available for future executions. You can use this option to speed up your builds, since not every execution has to seed the database.

Postgres

Postgres service configuration

The Postgres service requires:

  • Version
  • Hostname
  • Login and password

To use Postgres in your tests, you need to copy the Hostname, Login and Password that you entered in the action details:

Checking 'Cache database between executions' will make current execution data available for future executions. You can use this option to speed up your builds, since not every execution has to seed the database.

Cassandra

Cassandra service configuration

The Cassandra service requires:

  • Version
  • Hostname

To use Cassandra in your tests, you need to copy the Hostname that you entered in the action details:

Checking 'Cache database between executions' will make current execution data available for future executions. You can use this option to speed up your builds, since not every execution has to seed the database.

Memcached

Memcached service configuration

The Memcached service requires:

  • Version
  • Hostname

To use Memcached in your tests, you need to copy the Hostname that you entered in the action details:

Elastic

Elastic service configuration

The Elastic service requires:

  • Version
  • Hostname

To use Elastic in your tests, you need to copy the Hostname that you entered in the action details:

Selenium Firefox

Selenium Fox service configuration

This service allows you to execute integration tests on Firefox. Learn how to properly configure Selenium tests here.

The Selenium Firefox service requires:

  • Version
  • Hostname

To use Selenium Firefox in your tests, you need to copy the Hostname that you entered in the action details:

Selenium Chrome

Selenium Chrome service configuration

This service allows you to execute integration tests on Chrome. Learn how to properly configure Selenium tests here.

The Selenium service requires:

  • Version
  • Hostname

To use Selenium Chrome in your tests, you need to copy the Hostname that you entered in the action details:

RabbitMQ

RabbitMQ service configuration

The RabbitMQ service requires:

  • Version
  • Hostname
  • Login and password

To use RabbitMQ in your tests, you need to copy the Hostname, Login and Password that you entered in the action details: