PromptAny AI assistant

Write tests first (AgentPlays template)

AgentPlays template for coding: fill in the [brackets]. Written by AgentPlays, not quoted from a user, and no results are claimed.

Copy it

Write unit tests for this function in [framework], covering normal cases, edge cases and invalid input. Don't change the function.

Function: [paste]

AgentPlays template: written by AgentPlays, not quoted from a user. Fill in the [brackets]; no results are claimed.

Original post by AgentPlays ↗