def generate_file_path(package_path, file_name):
    """
    Dynamically generate full path to file, including filename and extension.

    :param package_path: (array) ordered list of packages in path to test file
    :param file_name: (string) name of the file w/ test, including the extension
    :return: (string) full path to file, including filename and extension
    """
    file_path = ""
    for package in package_path:
        file_path += package + "/"
    return file_path + file_name