certification-tool icon indicating copy to clipboard operation
certification-tool copied to clipboard

[Feature] Move SelectedTests into TestRunExecutionCreate

Open antonio-amjr opened this issue 2 years ago • 0 comments

Feature description

Providing the SelectedTests to create a new TestRunExecution is now mandatory. So would be convenient to include this information to the TestRunExecutionCreate schema, but that would require to also change the TestRunExecution model since the schema is used in the model creation. This also require to change the way Frontend create JSON Request Data for the endpoint.

Also analyze if this portion of the code crud_test_run_execution.py#L188-L194 could be moved to TestRunner or somewhere else.

Use Cases

[Use Case] Create a TestRunExecution:

  • Create a json including all data to TestRunExecution plus the SelectedTests in Frontend
  • Use the create TestRunExecution endpoint of Backend providing the json data

Test Cases

No response

Additional Information

This is a spin-off issue from Backend PR#16.

antonio-amjr avatar Nov 23 '23 16:11 antonio-amjr