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

Currently, only single file test suites have been tested. 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.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.1.0.zip (6.0 kB view details)

Uploaded Source

File details

Details for the file robotsuite-0.1.0.zip.

File metadata

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

File hashes

Hashes for robotsuite-0.1.0.zip
Algorithm Hash digest
SHA256 ee1aadc01a452c42871b419b4e02659d3b61ca1a71b9cd935d40fc393e39a33e
MD5 c536e4e15fa011170838c0bffe5a1bfe
BLAKE2b-256 954284e6cfc0468a12e3ee920701da6715520454dd837e1e0ad012dfe4969830

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