Changes between Version 25 and Version 26 of DeveloperGuidelines/Testing/EdenTest


Ignore:
Timestamp:
03/18/19 18:31:21 (6 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Testing/EdenTest

    v25 v26  
    5555├── docs
    5656│   ├── auth.html
    57  |     ...
     57│   │   ...
    5858│   ├── main.html
    5959│   └── widgets.html
     
    6565│       ├── config.example.py
    6666│       └── config.py
     67
    6768└── implementation
    6869    ├── libs
    6970    ├── resources
    70     │   ├── auth.txt
    71      |     ...
    72     │   ├── main.txt
    73     │   └── widgets.txt
     71    │   ├── auth.robot
     72    │   │   ...
     73    │   ├── main.robot
     74    │   └── widgets.robot
    7475    └── testsuites
    75         ├── __init__.txt
     76        ├── __init__.robot
     77        │
    7678        ├── hrm
    77         │   └── human_resource.txt
     79        ├── org
     80        ├── project
    7881        ├── ...
    79                  
    80         └── project
    81             ├── project_project.txt
    82             └── variables.py
    83 
     82        │
     83        └── smoke_tests
    8484
    8585}}}
     86
    8687We distinguish between the implementation and the execution of the tests.
    8788
     
    8990* '''execution''': Execution directory contains two sub folders, settings and libs. '''settings''' contains the settings local to your system to run the tests. It has a file config.example.py using which config.py file is created. config.py is not under version control. It has settings variables like server address, valid username, valid password etc. '''libs''' contains the python library files that created for !EdenTest eg: edentest_database.py. It might be also used to store ready-made libraries to ensure they are kept stable for example the selenium2library.
    9091* '''implementation''': It contains the implementation aspects.
    91  * '''resources''': It is imperative from a test-design point of view to have higher-level keywords. These are kept in the resource files. The keywords are stored in a file as per the function they serve for eg: Keyword `Login To Eden` is kept in '''auth.txt'''.
    92   * '''main.txt''': It is the center resource file. All the resource files like auth.txt, settings like config.py are imported in this file. Further, this file is imported in the tests.
    93  * '''testsuites''': Testsuites directory contains all the different testsuites differentiated based on the basis of functionality they test eg: '''hrm'''. Inside each testcase, there is at least one .txt file which contains the testcases.
     92 * '''resources''': It is imperative from a test-design point of view to have higher-level keywords. These are kept in the resource files. The keywords are stored in a file as per the function they serve for eg: Keyword `Login To Eden` is kept in '''auth.robot'''.
     93  * '''main.robot''': It is the center resource file. All the resource files like auth.robot, settings like config.py are imported in this file. Further, this file is imported in the tests.
     94 * '''testsuites''': Testsuites directory contains all the different testsuites differentiated based on the basis of functionality they test eg: '''hrm'''. Inside each testcase, there is at least one .robot file which contains the testcases.
    9495
    9596== Using !EdenTest ==