Skip to content

[Feature] Moving selected_tests inside the TestRunExecution - #1

Open
antonio-amjr wants to merge 2 commits into
feature/update_test_selection_to_use_pydanticfrom
feature/move_selected_tests_into_test_run_execution_create
Open

[Feature] Moving selected_tests inside the TestRunExecution#1
antonio-amjr wants to merge 2 commits into
feature/update_test_selection_to_use_pydanticfrom
feature/move_selected_tests_into_test_run_execution_create

Conversation

@antonio-amjr

Copy link
Copy Markdown
Owner

Moving selected_tests API parameter to inside the Test Run Execution model, schema and CRUD files.
That way we simplify removing one parameter from the creation API.

The following changes were provided:

  • A new DB revision file was manually created so the new column selected_test, added into the TestRunExecution model, is filled with the information needed (gathered from tables inside the DB). This new column is mandatory as we'll always use this dictionary to create new Test Runs.
  • The create_test_run_execution() API method had its selected_test parameter moved inside the test_run_execution_in object, as a dictionary blob.
  • The CRUD file was updated to use only one create method once again.
  • A dictionary was added to the schema for the selected_tests data.
  • The model file maps the dictionary blob to a JSON type in DB.
  • Related changes on unit tests and utils files.

@antonio-amjr antonio-amjr added the enhancement New feature or request label Dec 12, 2023
@antonio-amjr antonio-amjr self-assigned this Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant