Generating tests
GET
/test/generate
Use momentum to generate tests for your
Headers
Query Params
Response
You can use the generated tests from this endpoint to test relevant code.
Last updated
GET
/test/generate
Use momentum to generate tests for your
Headers
Query Params
Response
You can use the generated tests from this endpoint to test relevant code.
Last updated
Name | Value |
---|---|
Name | Type | Description |
---|---|---|
Authorization
Bearer <token>
project_id
number
The project id generated during parsing of the code
identifier
string
The node id that points to the specific endpoint you want to generate tests for, ex : /server.py:search
endpoint_path
string
Complete path of the endpoint you want to test