[−][src]Crate rune_testing
Re-exports
pub use rune::CompileError::*; |
pub use rune::ParseError::*; |
pub use rune::WarningKind::*; |
pub use runestick::VmErrorKind::*; |
Macros
assert_compile_error | Assert that the given rune program raises a compile error. |
assert_parse | Assert that the given rune program parses. |
assert_parse_error | Assert that the given parse error happens with the given rune program. |
assert_vm_error | Assert that the given vm error happens with the given rune program. |
assert_warnings | Assert that the given rune program parses, but raises the specified set of warnings. |
rune | Run the given program and return the expected type from it. |
Structs
Function | A stored function, of some specific kind. |
Span | A span corresponding to a range in the source file being parsed. |
Enums
Meta | Metadata about an item in the context. |
Value | An entry on the stack. |
Functions
block_on | Run a future to completion on the current thread. |
compile_source | Compile the given source into a unit and collection of warnings. |
run | Call the specified function in the given script. |
run_async | Call the specified function in the given script. |
Type Definitions
Error | The error returned from our functions. |
Result | The result returned from our functions. |