Exemple #1
0
__author__    = "Alvaro Lopez Ortega"
__email__     = "*****@*****.**"
__copyright__ = "Copyright (C) 2013 Alvaro Lopez Ortega"

import os
import re
import sys
import logging
import subprocess

import init
init.init()

import analysis
analysis.init_coverage_file(__file__)

import colors
import util

qa_dir = os.path.dirname(os.path.abspath(__file__))

def get_tests():
    tests = []
    for f in os.listdir (qa_dir):
        if re.match (r'^\d{3}-.+\.py$', f):
            tests.append (f)

    tests.sort()
    return tests
Exemple #2
0
 def fn():
     # Set a new coverage file
     analysis.init_coverage_file (str(time.time()))