Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Basic usage with Robot Framework

With output parser

The robot output.xml files can be imported using testarchiver.

testarchiver --format robot --database test_archive.db output.xml

This should create a SQLite database file named test_archive.db that contains the results.

See main README.md for more details.

With Robot listener

The project includes a listener that allows archiving the results using Robot Frameworks Listener interface

robot --listener test_archiver.ArchiverRobotListener:test_archive.db:sqlite3 my_tests.robot

This should create a SQLite database file named test_archive.db that contains the results.

Arguments for ArchiverRobotListener: test_archiver.ArchiverRobotListener:DBNAME_OR_CONFIG:DBNEGINE[:DBUSER[:DBPASSWORD[:DBHOST:[DBPORT]]]]

Fixture tests

The tests in this folder are simple ones demonstrating some features of Robot Framework. They can be used to generate data for TestArchiver.

Integration tests use these robot tests as the test material. pdm itest

Usage

To run robot fixture test run pdm robot_fixture_run. The ouput is stored to robot_tests/normal/ directory.

To run robot fixture test with ArchiverRobotListener run pdm robot_fixture_run_with_listener. The ouput is stored to robot_tests/listener/ directory.