Open ckunki opened 1 year ago
Currently ITDE contains automated tests verifying the compatibility of API and CLI. However the current approach creates some problems.
lib/api/spawn_test_environment_with_test_container.py
@no_cli_function def spawn_test_environment_with_test_container(
lib/api/spawn_test_environment:
lib/api/spawn_test_environment
@cli_function def spawn_test_environment()
Potential situations uncovered by the current approach:
PortForwarding
str
int
Currently ITDE contains automated tests verifying the compatibility of API and CLI. However the current approach creates some problems.
Problem1: There are two API branches, while only the second one is verified.
lib/api/spawn_test_environment_with_test_container.py
lib/api/spawn_test_environment
:Problem 2: Is 100% identical interface really desired or required?
Potential situations uncovered by the current approach:
PortForwarding
rather than only basic types such asstr
andint
than can be supplied via CLI.