#[macro_use(owned_tree, shared_tree)]
extern crate entmut;

/// Defines macros for generalized tests of Nav impls.
#[macro_use]
mod view_tests;

#[macro_use]
mod owned {
    view_tests!(owned_tree);
}

#[macro_use]
mod shared {
    view_tests!(shared_tree);
}

#[macro_use(owned_tree, shared_tree)]
extern crate entmut;

// This will define macros for generalized tests of Nav and Editor impls.
#[cfg(test)]
#[macro_use]
mod view_tests;

#[cfg(test)]
#[macro_use]
mod owned {
    view_tests!(owned_tree);
}

#[cfg(test)]
#[macro_use]
mod shared {
    view_tests!(shared_tree);
}

--- 
+++ 
@@ -1,15 +1,18 @@
 #[macro_use(owned_tree, shared_tree)]
 extern crate entmut;
 
-/// Defines macros for generalized tests of Nav impls.
+// This will define macros for generalized tests of Nav and Editor impls.
+#[cfg(test)]
 #[macro_use]
 mod view_tests;
 
+#[cfg(test)]
 #[macro_use]
 mod owned {
     view_tests!(owned_tree);
 }
 
+#[cfg(test)]
 #[macro_use]
 mod shared {
     view_tests!(shared_tree);
Tweak test definitions to clarify what's going on.
