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 details)

Uploaded Source

File details

Details for the file robotsuite-0.3.0.zip.

File metadata

  • Download URL: robotsuite-0.3.0.zip
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for robotsuite-0.3.0.zip
Algorithm Hash digest
SHA256 600d8fb369bdce18bb1ef7ed3ae492405cd84ff4b66e38cbe988fe8ea5db0bdd
MD5 c6bed93081f80e9193e03a23348d78c1
BLAKE2b-256 7b2b23ac7adca4b9db76a5a8d46a534be0580a644fdf1af138e6a83038515ce2

See more details on using hashes here.

Supported by

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