
##### SUMMARY

Many developers are used to storing testing code in a `tests/` directory in their project root, but the way `ansible-test` works currently requires testing code be stored only in a `test/` directory only.

It would be nice to either allow tests to be picked up from `test/` _or_ `tests/`, or to maybe pass a cli option (like `--test-dir`) or environment variable to specify the directory containing the testing code.

##### ISSUE TYPE
- Feature Idea

##### COMPONENT NAME
ansible-test

##### ADDITIONAL INFORMATION
N/A
'cache',
            ),
            'docs/docsite': (
                '_build',
            ),
        }
        kill_sub_file = {
            '': (
                TIMEOUT_PATH,
            ),
        }
        kill_extensions = (
            '.pyc',
            '.pyo',
            '.retry',
        )
        for root, dir_names, file_names in os.walk(path):
            rel_root = os.path.relpath(root, path)
            if rel_root == '.':
                rel_root = ''
            for kill in kill_any_dir + kill_sub_dir.get(rel_root, ()):
                if kill in dir_names:
                    dir_names.remove(kill)
            kill_files = kill_sub_file.get(rel_root, ())
            paths.extend([os.path.join(rel_root, file_name) for file_name in file_names
                          if not os.path.splitext(file_name)[1] in kill_extensions and file_name not in kill_files])
            
            paths.extend([os.path.join(rel_root, dir_name) + os.path.sep for dir_name in dir_names if os.path.islink(to_bytes(dir_name))])
        return paths