pub async fn start_component<F, U, S>(
start_info: ComponentStartInfo,
server_end: ServerEnd<ComponentControllerMarker>,
get_test_server: F,
validate_args: U,
) -> Result<(), ComponentError>where
F: 'static + Fn() -> S + Send,
U: 'static + Fn(&Vec<String>) -> Result<(), ArgumentError>,
S: SuiteServer,
Expand description
Setup and run test component in background.
F
: Function which returns new instance ofSuiteServer
.