Version 8 (modified by jsoriano@…, 3 years ago) (diff)

--

ANSTE tests for Zentyal

ANSTE is a tool to automatise the integration tests of Zentyal. It allows us to define a test which is composed by:

  • scenario: a number of machines, network topology...
  • UI test: it uses selenium to configure Zentyal using its interface
  • run tests: once the scenario is deployed and Zentyal has been configured, it runs tests -shell scripts- to actually test the feature under scrutiny.
  • report results

The goal is having as many tests as possible, and the tests must be as much deep as possible.

The whole suite of tests will be run daily against trunk, and any branch we support. This allows us to know the status and functionality of every revision at any time.

Writing tests for Zentyal

For every module you write there must be one or more test suites associated to i. Tests must be documented in this wiki. For every test you should at least document as the following example shows:

Module Proxy

Test global policy allow

Scenario

One client machine connected to a Zentyal machine. Zentyal will provide access to internet.

Zentyal configuration

Proxy is enabled. Port is 3128. Global policy is allow. Transparent proxy is disabled.

clients and other machine configuration

Validation test

Client must be able to access http though the Zentyal proxy

Modules