Most LLMs that are competent at generating code, such as ChatGPT, Gemini, and Code Llama, are capable of generating tests.

Read more here: External Link