[request] unittest2/HTMLTestRunner ... as Sikuli package content or extension

Bug #1189892 reported by RaiMan
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
SikuliX
Fix Released
High
RaiMan

Bug Description

Hi all,

I'm experiencing some problems when using current Sikuli's Jython unittets module.
In the current version (I guess unittest 1.63) some of most useful unittest features are not (yet) available.
For example I'd like to skip some Sikuli testcases by using an instruction like : @unittest.skipIf(a_conditon) just before the TestCase() method.

I'm still trying to look for a workaround for that.
Ideally I'd like to use some script options passed by the Sikuli commandline to the Jython's sys.argv.
For example : Sikuli-IDE.bat -r mainTestClass.sikuli --args --suite suite1 --testcase test1,test2,test5
In the mainTestClass.sikuli I'll parse sys.argv and so I'll run only testsuite1.sikuli and only testcases test1() , test2() and test3() among all testcases defined in that testsuite.sikuli class.

Any idea about when Sikuli will integrate a new unittest version ?
Or, any idea about how to skip a testcase defined in a testsuite class with the current unittest version ?

Thanks a lot,
Rayan

Tags: build
RaiMan (raimund-hocke)
Changed in sikuli:
status: New → In Progress
importance: Undecided → High
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.0
summary: - [1.0] unittest2/HTMLTestRunner ... as Sikuli package content or
+ [request] unittest2/HTMLTestRunner ... as Sikuli package content or
extension
RaiMan (raimund-hocke)
tags: added: build
RaiMan (raimund-hocke)
Changed in sikuli:
milestone: 1.1.0 → 1.2.0
RaiMan (raimund-hocke)
Changed in sikuli:
status: In Progress → Fix Released
milestone: 2.0.0 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.