def METHOD_NAME(opts, tests, total_tests, workers):
    if opts.quiet:
        return NopDisplay()
    num_tests = len(tests)
    of_total = (' of %d' % total_tests) if (num_tests != total_tests) else ''
    header = '-- Testing: %d%s tests, %d workers --' % (
        num_tests, of_total, workers)
    progress_bar = None
    if opts.succinct and opts.useProgressBar:
        import lit.ProgressBar
        try:
            tc = lit.ProgressBar.TerminalController()
            progress_bar = lit.ProgressBar.ProgressBar(tc, header)
            header = None
        except ValueError:
            progress_bar = lit.ProgressBar.SimpleProgressBar('Testing: ')
    return Display(opts, tests, header, progress_bar)