eric7/Testing/__init__.py

branch
eric7-maintenance
changeset 9131
bc0c1b6d6adb
child 9192
a763d57e23bc
equal deleted inserted replaced
9112:9967ae9f0906 9131:bc0c1b6d6adb
1 # -*- coding: utf-8 -*-
2
3 # Copyright (c) 2022 Detlev Offenbach <detlev@die-offenbachs.de>
4 #
5
6 """
7 Package implementing testing functionality and interface to various test
8 frameworks.
9 """
10
11 from .Interfaces import FrameworkNames
12
13
14 def supportedLanguages():
15 """
16 Function to get a list of supported programming languages.
17
18 @return list of supported programming languages
19 @rtype list of str
20 """
21 return list(FrameworkNames.keys())
22
23
24 def isLanguageSupported(language):
25 """
26 Function to check, if the given programming language is supported by any
27 testing framework.
28
29 @param language programming language
30 @type str
31 @return flag indicating support
32 @rtype bool
33 """
34 return language in FrameworkNames

eric ide

mercurial