def _generate_and_format_test_prompts(
        self,
        test_category: str,
        test_depth: int,
        examples: Optional[list] = None,
    ) -> list:
        """
        Generate test prompts for a given category, optionally using few shot examples.

        Args:
            test_category (str): The category for which to generate test prompts.
            test_depth (int): The depth of the test prompts.
            examples (Optional[list]): An optional list of examples to guide the style of the questions.

        Returns:
            list: A list of test prompts.
        """
        test_prompts = self._generate_test_prompts(
            test_category, test_depth, examples
        )
        formatted_test_prompts = self._format_test_prompts(test_prompts)
        return formatted_test_prompts

        Generate test prompts for a given category, optionally using few shot examples.

        Args:
            test_category (str): The category for which to generate test prompts.
            test_depth (int): The depth of the test prompts.
            examples (Optional[list]): An optional list of examples to guide the style of the questions.

        Returns:
            list: A list of test prompts.
        
src/benchmark/trulens/benchmark/generate/generate_test_set.py