generate_test_project.py

View code on Github

Functionality to copy the test project files from the package to the present working directory.

ts_backend_check.cli.generate_test_project.get_test_project_config_file_text() str[source]

Return the text for the configuration file for the ts-backend-check test project.

Returns:
str

The text for the configuration file for the ts-backend-check test project.

ts_backend_check.cli.generate_test_project.write_test_project_config_file(config_file_name: str) None[source]

Write a YAML configuration file for the ts-backend-check test project.

Parameters:
config_file_namestr

The name for the ts-backend-check configuration file.

Returns:
None

The contents of a configuration file are written to match the test project.

ts_backend_check.cli.generate_test_project.generate_test_project() None[source]

Copy the ts_backend_check/test_project directory to the present working directory.