Skip to content

Src

Example test suite with initialization file

0 failed, 2 passed, 0 skiped, 2 total
Executed in 31 ms on March 17, 2024 at 15:56:07
Source /home/chme/git/python-robot-markdown/examples/Output_Files/src

Environment

Name Value
version 1.0.0
env QA
url https://localhost:8080/myserver

Statistics

Pass / Fail / Skip Total / Elapsed
PASS Src 2 / 0 / 0 2 / 31 ms
PASS Src.Test With File 2 / 0 / 0 2 / 5 ms
PASS example 2 / 0 / 0 2 / 3 ms
Do Something ${MESSAGE}

None.Do Something
Executed in 2 ms

Log Running suite setup - ${arg}

Logs the given message with the given level.

BuiltIn.Log
Executed in 0 ms

INFO Running suite setup - Hello, world!

Create File ${OUTPUT_DIR}/test.env content=${CONTENT}

Creates a file with the given content and encoding.

OperatingSystem.Create File
Executed in 1 ms

INFO Created file '/home/chme/git/python-robot-markdown/examples/Output_Files/output/20240317-1556/test.env'.

INFO Running suite setup - Hello, world!
INFO Created file '/home/chme/git/python-robot-markdown/examples/Output_Files/output/20240317-1556/test.env'.

Test With File PASS

A simple test suite to show case how files created in the output folder are included in robot-markdown generated documentation.

0 fail, 2 pass, 0 skip, 2 total
Executed in 5 ms

Test with file PASS

File created in output folder in a Test Case

Executed in 1 ms

Create File ${OUTPUT_DIR}/myfiles/test_with_file.json content=${JSON_CONTENT}

Creates a file with the given content and encoding.

OperatingSystem.Create File
Executed in 1 ms

INFO Created file '/home/chme/git/python-robot-markdown/examples/Output_Files/output/20240317-1556/myfiles/test_with_file.json'.

File in sub keyword PASS

File created in a sub keyword

Executed in 2 ms

Create File In Output Folder

None.Create File In Output Folder
Executed in 0 ms

Create File ${OUTPUT_DIR}/${filename} content=${content}

Creates a file with the given content and encoding.

OperatingSystem.Create File
Executed in 0 ms

INFO Created file '/home/chme/git/python-robot-markdown/examples/Output_Files/output/20240317-1556/mytestfile.txt'.