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

Function test_detect_java_tech_stack

src/repository.rs:212–222  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

210
211 #[tokio::test]
212 async fn test_detect_java_tech_stack() {
213 let temp_dir = TempDir::new().unwrap();
214
215 // Create pom.xml file
216 tokio::fs::write(temp_dir.path().join("pom.xml"), "")
217 .await
218 .unwrap();
219
220 let result = detect_stack(temp_dir.path()).await.unwrap();
221 assert_eq!(result, "java");
222 }
223
224 #[tokio::test]
225 async fn test_detect_lua_tech_stack_rockspec() {

Callers

nothing calls this directly

Calls 2

detect_stackFunction · 0.85
pathMethod · 0.80

Tested by

no test coverage detected