godot-testability-runtime 0.1.2

Embedded Godot runtime for comprehensive Rust testing
Documentation
//! # Godot Testability Runtime
//!
//! An embedded Godot runtime for Rust testing, inspired by SwiftGodot's testability framework.
//! Enables running tests within a real Godot runtime environment with full engine API access.
//!
//! ## Quick Start
//!
//! ```rust,ignore
//! use godot::prelude::*;
//! use godot_testability_runtime::prelude::*;
//! use godot_testability_runtime::godot_test_main;
//!
//! fn test_vectors(scene_tree: &mut Gd<SceneTree>) -> TestResult<()> {
//!     let v = Vector2::new(1.0, 2.0);
//!     assert_eq!(v.x, 1.0);
//!     Ok(())
//! }
//!
//! godot_test_main! {
//!     test_vectors,
//! }
//! ```

pub mod error;
pub mod prelude;
pub mod runtime;
pub mod test_main;

// FFI bindings to libgodot (enabled by default)
#[cfg(feature = "embedded_runtime")]
pub mod ffi;

pub use error::{TestError, TestResult};
pub use runtime::GodotRuntime;

// Private re-export for macro use
#[doc(hidden)]
pub mod __private {
    pub use libtest_mimic;
}