Robot Framework test suite for Python unittest framework
Project description
Python unittest test suite for Robot Framework
This is an experiment to wrap Robot Framework tests into Python unittest framework to make it possible to run Robot Framework tests with zope.testrunner’s layered test setups:
import unittest2 as unittest from plone.testing import layered from robotsuite import RobotTestSuite from my.app.testing import FUNCTIONAL_TESTING def test_suite(): suite = unittest.TestSuite() suite.addTests([ layered(RobotTestSuite('mysuite.txt'), layer=FUNCTIONAL_TESTING), ]) return suite
This should allow us to run robot test with test isolation and complex test setups (like Plone).
RobotTestSuite splits the test suite into separate unittest test cases so that robot will be run once for every test in the suite.
If this works for you, please contribute at: http://github.com/datakurre/robotsuite/
Changelog
0.2.0 (2012-06-02)
Support for directories as (recursive) suites.
0.1.0 (2012-05-30)
Proof of concept.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
robotsuite-0.2.0.zip
(6.1 kB
view hashes)