ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalc
Last change
on this file since 15fd91b was
0fc37fea,
checked in by Piotr Rozyczko <piotr.rozyczko@…>, 8 years ago
|
Added python wrapper for unit testing
|
-
Property mode set to
100755
|
File size:
1.1 KB
|
Rev | Line | |
---|
[0fc37fea] | 1 | import unittest |
---|
| 2 | |
---|
| 3 | from UnitTesting import AboutBoxTest |
---|
| 4 | from UnitTesting import DataExplorerTest |
---|
| 5 | from UnitTesting import WelcomePanelTest |
---|
| 6 | from UnitTesting import DroppableDataLoadWidgetTest |
---|
| 7 | from UnitTesting import GuiManagerTest |
---|
| 8 | from UnitTesting import GuiUtilsTest |
---|
| 9 | from UnitTesting import MainWindowTest |
---|
| 10 | from UnitTesting import TestUtilsTest |
---|
| 11 | |
---|
| 12 | def suite(): |
---|
| 13 | suites = ( |
---|
| 14 | unittest.makeSuite(AboutBoxTest.AboutBoxTest, 'test'), |
---|
| 15 | unittest.makeSuite(DataExplorerTest.DataExplorerTest, 'test'), |
---|
| 16 | unittest.makeSuite(WelcomePanelTest.WelcomePanelTest, 'test'), |
---|
| 17 | unittest.makeSuite(DroppableDataLoadWidgetTest.DroppableDataLoadWidgetTest, 'test'), |
---|
| 18 | unittest.makeSuite(GuiManagerTest.GuiManagerTest, 'test'), |
---|
| 19 | unittest.makeSuite(GuiUtilsTest.GuiUtilsTest, 'test'), |
---|
| 20 | unittest.makeSuite(MainWindowTest.MainWindowTest, 'test'), |
---|
| 21 | unittest.makeSuite(TestUtilsTest.TestUtilsTest, 'test'), |
---|
| 22 | ) |
---|
| 23 | return unittest.TestSuite(suites) |
---|
| 24 | |
---|
| 25 | if __name__ == "__main__": |
---|
| 26 | unittest.main(defaultTest="suite") |
---|
| 27 | |
---|
Note: See
TracBrowser
for help on using the repository browser.