pub struct TestItem {
pub id: String,
pub label: String,
pub uri: String,
pub range: TestRange,
pub kind: TestKind,
pub children: Vec<TestItem>,
}Expand description
Test item representing a test that can be run
Fields§
§id: StringUnique identifier for the test (typically URI::function_name)
label: StringHuman-readable display name for the test
uri: StringFile URI where the test is located
range: TestRangeSource location range of the test
kind: TestKindClassification of this test item
children: Vec<TestItem>Nested test items (e.g., functions within a file)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TestItem
impl RefUnwindSafe for TestItem
impl Send for TestItem
impl Sync for TestItem
impl Unpin for TestItem
impl UnsafeUnpin for TestItem
impl UnwindSafe for TestItem
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more