Bug 4977 - convert all main() functions in Python modules to autotests
Summary: convert all main() functions in Python modules to autotests
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Other (show other bugs)
Version: 4.1.1
Hardware: PC Unknown
: P2 Normal
Target Milestone: MediumPrio
Assignee: Peter Åstrand
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-31 10:29 CET by Karl Mikaelsson
Modified: 2014-02-04 11:13 CET (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Karl Mikaelsson cendio 2014-01-31 10:29:26 CET
We have plenty of Python modules that have defined main() functions, often with some sort of basic functionality test of their contents. Tests are good, but tests that aren't run automatically are destined to be forgotten. We should rewrite as many of these as possible to autotests so they are run every night.

In case a main() function is not suitable for an autotests, we might as well scrap the main() function altogether.

Note You need to log in before you can comment on or make changes to this bug.