Tools to ease creating larger test libraries for Robot Framework using Python.
Project description
Tools to ease creating larger test libraries for Robot Framework using Python.
Code is stable and version 1.0 is already used by SeleniumLibrary. Better documentation and packaging still to do.
Example
"""Main library."""
from robotlibcore import HybridCore
from mystuff import Library1, Library2
class MyLibrary(HybridCore):
"""General library documentation."""
def __init__(self):
libraries = [Library1(), Library2()]
HybridCore.__init__(self, libraries)
"""Library components."""
from robotlibcore import keyword
class Library1(object):
@keyword
def example(self):
"""Keyword documentation."""
pass
@keyword
def another_example(self, arg1, arg2='default'):
pass
def not_keyword(self):
pass
class Library2(object):
@keyword('Custom name')
def this_name_is_not_used(self):
pass
@keyword(tags=['tag', 'another'])
def tags(self):
pass
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
File details
Details for the file robotlibcore-temp-1.0.2.tar.gz
.
File metadata
- Download URL: robotlibcore-temp-1.0.2.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6aa982d2bf7084cf6db0b969df2ad7e9c7e980d466e180ebd9d7dfaba1d2bfb |
|
MD5 | 2e313c2a3c94e85d1f724c9313fb1053 |
|
BLAKE2b-256 | 35c0ab375fe4b3857908030bd278f3a6fb6b0e7fd6c729565a9700e9e41c7cc0 |