Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
@core
2
Feature: Check for minimum or maximimum version of Moodle
3
    In order adapt acceptance tests for different versions of Moodle
4
    As a developer
5
    I should be able to skip tests according to the Moodle version present on a site
6
 
7
  Scenario: Minimum version too low
8
    Given the site is running Moodle version 99.0 or higher
9
    # The following steps should not be executed. If they are, the test will fail.
10
    When I log in as "admin"
11
    Then I should not see "Home"
12
 
13
  Scenario: Maximum version too high
14
    Given the site is running Moodle version 3.0 or lower
15
    # The following steps should not be executed. If they are, the test will fail.
16
    When I log in as "admin"
17
    Then I should not see "Home"
18
 
19
  Scenario: Minimum version OK
20
    Given the site is running Moodle version 3.0 or higher
21
    When I log in as "admin"
22
    Then I should see "Home"
23
 
24
  Scenario: Maximum version OK
25
    Given the site is running Moodle version 99.0 or lower
26
    When I log in as "admin"
27
    Then I should see "Home"