xref: /openbmc/openbmc-test-automation/templates/pgm_template.robot (revision c2c554b723ca5e69ecc11afda27c0f069ab15ad3)
16a9b8541SMichael Walsh*** Settings ***
26a9b8541SMichael Walsh
3*c2c554b7SGeorge Keishing# Copy this template as a base to get a start on a robot program.
4*c2c554b7SGeorge Keishing# You may remove any generic comments (like this one).
5*c2c554b7SGeorge Keishing
6*c2c554b7SGeorge Keishing# Note: This is a template base code structure and not meant to
7*c2c554b7SGeorge Keishing# work as it is directly without modification.
86a9b8541SMichael Walsh
96a9b8541SMichael WalshDocumentation  Base to get a start on a robot program.
106a9b8541SMichael Walsh
116a9b8541SMichael WalshLibrary                     pgm_template.py
1241dda1b0SMichael WalshLibrary                     gen_print.py
1341dda1b0SMichael WalshLibrary                     gen_robot_print.py
143bb1e82bSMichael WalshLibrary                     gen_robot_valid.py
15fdc3a426SMichael WalshResource                    bmc_redfish_resource.robot
166a9b8541SMichael Walsh
17*c2c554b7SGeorge Keishing# Write your own keyword(s) for setup and teardown
186a9b8541SMichael WalshSuite Setup                 Suite Setup
196a9b8541SMichael WalshSuite Teardown              Suite Teardown
206a9b8541SMichael WalshTest Setup                  Test Setup
216a9b8541SMichael Walsh
226a9b8541SMichael Walsh*** Variables ***
236a9b8541SMichael Walsh# Initialize program parameters variables.
246a9b8541SMichael Walsh# Create parm_list containing all of our program parameters.
256a9b8541SMichael Walsh@{parm_list}                TEST_MODE  QUIET  DEBUG
266a9b8541SMichael Walsh
276a9b8541SMichael Walsh# Initialize each program parameter.
286a9b8541SMichael Walsh${TEST_MODE}                0
296a9b8541SMichael Walsh${QUIET}                    0
306a9b8541SMichael Walsh${DEBUG}                    0
316a9b8541SMichael Walsh
326a9b8541SMichael Walsh
336a9b8541SMichael Walsh*** Test Cases ***
346a9b8541SMichael WalshTest Case 1
35333bb72cSGeorge Keishing    [Documentation]  Test case 1 documentation.
36*c2c554b7SGeorge Keishing    [Tags]  Test_Case_1
37fdc3a426SMichael Walsh
38*c2c554b7SGeorge Keishing    Log To Console  First test case.
39