MCPcopy Create free account
hub / github.com/dtormoen/tsk-tsk / test_app_context_creation

Function test_app_context_creation

src/context/mod.rs:241–254  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

239
240 #[test]
241 fn test_app_context_creation() {
242 let app_context = AppContext::builder().build();
243
244 // Verify we can access all expected fields
245 let _env = app_context.tsk_env();
246 let _config = app_context.tsk_config();
247 let _git_sync = app_context.git_sync_manager();
248 let _notification = app_context.notification_client();
249 let _terminal = app_context.terminal_operations();
250 let _storage = app_context.task_storage();
251
252 // Tests default to non-interactive
253 assert!(!app_context.interactive());
254 }
255}

Callers

nothing calls this directly

Calls 7

tsk_envMethod · 0.80
tsk_configMethod · 0.80
git_sync_managerMethod · 0.80
notification_clientMethod · 0.80
terminal_operationsMethod · 0.80
task_storageMethod · 0.80
buildMethod · 0.45

Tested by

no test coverage detected