[Webkit-unassigned] [Bug 36591] test-webkitpy: should automatically detect all unit test files in webkitpy

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 25 13:44:12 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=36591





--- Comment #3 from Chris Jerdonek <cjerdonek at webkit.org>  2010-03-25 13:44:12 PST ---
(In reply to comment #2)
> No need for "exec".  We can just import the module and then use defs() to grab
> all the classes and import those, no?

Yeah, there should also be ways without exec().

> Or maybe there is some piece of http://docs.python.org/library/imp.html to use?

Here is something else to look at:

http://docs.python.org/library/unittest.html#unittest.TestLoader.loadTestsFromModule

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list