Status: Accepted
Owner: ----
Labels: Type-Enhancement Priority-High Target-2.6
New issue 825 by pekka.klarck: Public API for generating executable test
cases
http://code.google.com/p/robotframework/issues/detail?id=825
We should have an API to generate test cases on the fly programmatically.
This would allow, for example, reading test data from external sources such
as data bases.
The API could work somehow like this:
from robot.running import TestSuite, TestCase, TestStep
suite = TestSuite('Example suite', doc='...')
tc = TestCase('Example test', tags=['t1', 't2'])
tc.add_step(TestStep('Log', args=['Hello, world!'])
suite.add_test(tc)