On 3/2/15 9:01 AM, Werner wrote:
To help testing the Py3.4 and Py2.7 stuff I like to extend the current
test stuff.
To me it looks like "dabo.tests.unitTests.ui.UIwx" is more current then
"dabo.dabo.ui.uiwx.test".
Tests in uiux weren't really unittests but functional tests that ask the
user to verify that things look right. Those should stay.
I think a common standard is to have the tests outside the
framework/library, so I like to move/remove things from 'ui.uiws.test'.
Rename those, it's helpful to run them to make sure things are working
as intended. +1 on dabo/tests/ top-level directory.
Then I like to use some of the stuff Robin has done in Phoenix, e.g.
there is base test which does the setup/tearDown of the wx.App etc. I
would see with Dabo that we need two base tests, one with a sqlite db
and one without (just to speed things up).
+1
I would also like to move all the "__main__" demo/test code in each
module to e.g. "dabo.demo.ui", then I would remove the "if __name__ ==
"__main__":" hack in each file, then use this test code as the base for
unittest.
Does this make sense or ....:)
Oh, I see where you are going. Sure, it makes a lot of sense. Ignore
what I said up above. :)
Paul
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[email protected]