Skip to main content

is_test_file

Function is_test_file 

Source
pub fn is_test_file(path: &str, content: &str) -> bool
Expand description

Whether a changed file belongs to the test layer: by path convention first, then, for files outside test directories, by importing a test framework.