Changes between Version 11 and Version 12 of DeveloperGuidelines/Testing/EdenTest/WriteTestcase


Ignore:
Timestamp:
08/10/14 12:43:24 (7 years ago)
Author:
Arnav Sharma
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Testing/EdenTest/WriteTestcase

    v11 v12  
    7676=== Understanding the testcase ===
    7777
    78 [[BR]]
    7978* The testcase is in a separate file and has two sections - `*** Setttings ***` and `*** Test Cases ***` itself.
    8079* As you can see, the name of the testcase is very descriptive and describes the objective.
    8180* '''Open Browser''', '''Input Text''', '''Click Button''' and '''Page Should Contain''' are all keywords (functions) implemented in Selenium2Library.
    82 
     81* Every testcase and a suite has a setup and teardown. The common setup/teardown function is defined in the file '''main.txt''' file. It is run by default on every test defined under testsuites folder. One can create test setup/teardown as well by setting them in the `*** Settings ***` section.
    8382The beauty of writing tests this way is that they are easy to read and understand and that is one of aims as well, that even someone without the technical know-how can read and write tests.
    8483