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.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.2.0.zip (6.1 kB view details)

Uploaded Source

File details

Details for the file robotsuite-0.2.0.zip.

File metadata

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

File hashes

Hashes for robotsuite-0.2.0.zip
Algorithm Hash digest
SHA256 8b4967d90ab2155415b64511b46a1e41d50333744db4abbb5b7334a5d3214947
MD5 98494b17dbcecb666e8012681413fdb2
BLAKE2b-256 467e56ca903ca2fcc56d08d03711f63ea28df2547a392695f777310a936b25ca

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