RapidTest CLI¶
RapidTest includes a command-line interface to bootstrap a test file quickly.
Command: init¶
Creates a starter Python test file in your current directory.
Then the CLI asks for a project name and writes <name>.py with starter tests.
What gets generated¶
The generated file includes examples using:
HTTPTestfor functional API testsStatusCodeenum valuesDataclass for fake test data
Example workflow¶
Notes¶
- If the output file already exists, the command stops and prints an error.
- The generated template is a starting point; adjust URLs, paths, and payloads for your API.