Skip to main content

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.3.0 (2012-06-03)

  • Enabled robotframework reports for tests. Each test suite and each test will have their own outputdir, recursively.

0.2.0 (2012-06-02)

  • Support for directories as (recursive) suites.

0.1.0 (2012-05-30)

  • Proof of concept.

Project details


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.3.0.zip (6.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page