Changes between Version 25 and Version 26 of DeveloperGuidelines/Testing/EdenTest
- Timestamp:
- 03/18/19 18:31:21 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Testing/EdenTest
v25 v26 55 55 ├── docs 56 56 │ ├── auth.html 57 |...57 │ │ ... 58 58 │ ├── main.html 59 59 │ └── widgets.html … … 65 65 │ ├── config.example.py 66 66 │ └── config.py 67 │ 67 68 └── implementation 68 69 ├── libs 69 70 ├── resources 70 │ ├── auth. txt71 |...72 │ ├── main. txt73 │ └── widgets. txt71 │ ├── auth.robot 72 │ │ ... 73 │ ├── main.robot 74 │ └── widgets.robot 74 75 └── testsuites 75 ├── __init__.txt 76 ├── __init__.robot 77 │ 76 78 ├── hrm 77 │ └── human_resource.txt 79 ├── org 80 ├── project 78 81 ├── ... 79 80 └── project 81 ├── project_project.txt 82 └── variables.py 83 82 │ 83 └── smoke_tests 84 84 85 85 }}} 86 86 87 We distinguish between the implementation and the execution of the tests. 87 88 … … 89 90 * '''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. 90 91 * '''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. 94 95 95 96 == Using !EdenTest ==