Details
Details
Diff Detail
Diff Detail
- Repository
- R33 KDevPlatform
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
E.g. for file template Python>Basic>PyUnit this will now show in the preview:
# # This file is licensed under the ExampleLicense 3.0 # import unittest class Example(unittest.TestCase): def setUp(self): # Called prior to each test method pass def tearDown(self): # Called after each test method pass def test_testFoo(self): pass def test_testBar(self): pass def test_testMore(self): pass if __name__ == "__main__": unittest.main()
instead of
# # This file is licensed under the ExampleLicense 3.0 # import unittest class Example(unittest.TestCase): def setUp(self): # Called prior to each test method pass def tearDown(self): # Called after each test method pass if __name__ == "__main__": unittest.main()
Hm, looking at that I wonder if I should use data without "test" prefix, did that with the Qt unit test template in mind.
Comment Actions
use data without "test" prefix, looks strange in all non-qtest templates
sorry for having tested only now, too qt centric :)