add unit testing via 'make test'

This commit is contained in:
Ryan Flynn
2017-01-02 21:54:08 -05:00
parent 2beed27cf2
commit b6d1929306
4 changed files with 48 additions and 7 deletions
+21
View File
@@ -0,0 +1,21 @@
from unittest import TestCase
from labelImg import get_main_app
class TestMainWindow(TestCase):
app = None
win = None
def setUp(self):
self.app, self.win = get_main_app()
def tearDown(self):
self.win.close()
self.app.quit()
def test_noop(self):
pass