You are here: Home / LBN / Up2date / VoIP / BastionLinux 13 / python-robotsuite-1.4.0-1.lbn13.noarch

python-robotsuite-1.4.0-1.lbn13.noarch

Package Attributes
RPM  python-robotsuite-1.4.0-1.lbn13.noarch.rpm Architecture  noarch Size  55765 Created  2017/08/04 11:06:11 UTC
Package Specification
Summary Robot Framework test suite for Python unittest framework
Group Application/Internet
License GPL
Home Page http://pypi.python.org/packages/source/r/robotsuite/robotsuite-1.4.0.zip
Description

This is an experimental package for wrapping Robot Framework test suites into Python unittest suites to make it possible to run Robot Framework tests as plone.testing's layered test suites:

import unittest2 as unittest

from plone.testing import layered from robotsuite import RobotTestSuite

from my_package.testing import ACCEPTANCE_TESTING

def test_suite(): suite = unittest.TestSuite() suite.addTests([ layered(RobotTestSuite(mysuite.txt), layer=ACCEPTANCE_TESTING), ]) return suite

RobotTestSuite splits Robot Framework test suites into separate unittest test cases so that Robot will be run once for every test case in every test suite parsed from the given Robot Framework test suite. Because of that, each Robot will generate a separate test report for each test. Each report will have it's own folder, which are created recursively reflecting the structure of the given test suite.

RobotTestSuite's way of wrapping tests into unittest's test suite is similar to how doctest-module's DocTestSuite does its wrappings.

The main motivation behind this package is to make Robot Framework support existing test fixtures and test isolation when testing Plone. Yet, this should help anyone wanting to use Robot Framework with zope.testrunner or other Python unittest compatible test runner.

Requires
rpmlib(PayloadFilesHavePrefix)  
rpmlib(FileDigests)  
/bin/sh  
rpmlib(CompressedFileNames)  
rpmlib(PartialHardlinkSets)  
rpmlib(PayloadIsXz)  
Provides
python-robotsuite
Obsoletes
python-robotsuite-egginfo

Document Actions