File tree Expand file tree Collapse file tree 5 files changed +9
-10
lines changed
Expand file tree Collapse file tree 5 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,8 @@ pub const BASH_EXCLUDED_VARIABLES: &[&str] = &[
5151
5252const BASH_TEMPLATE : & str = include_str ! ( "bash_runner.template" ) ;
5353
54- /// A [`Runner`], that is intended to run a series of contextual related [`Execution`]s, which
54+ /// A [`Runner`], that is intended to run a series of contextual related
55+ /// [`crate::executors::execution::Execution`]s, which
5556/// that ought to share the same environmental context (environment variables, shell
5657/// variables, shopt, set, functions and aliases).
5758///
@@ -67,7 +68,7 @@ const BASH_TEMPLATE: &str = include_str!("bash_runner.template");
6768/// This Runner is not concurrency-safe (the shared state directory with the `state` file mandates
6869/// sequential, isolated execution).
6970///
70- /// Underlying the [`ThreadedRunner `] is used, so timeout constraints are fully supported.
71+ /// Underneath the [`SubprocessRunner `] is used, so timeout constraints are fully supported.
7172#[ derive( Clone ) ]
7273pub struct BashRunner {
7374 pub shell : PathBuf ,
Original file line number Diff line number Diff line change 1414//! described in the [`crate::executors::executor::Executor`] trait.
1515//!
1616//! Currently there are two implementations available:
17- //! - [`crate::executors::sequential_shell`], which runs executions from within
18- //! a file sequentially, allowing for shared state (environment variables,
19- //! aliases) to be "passed down"
20- //! - [`crate::executors::parallel_shell`], which runs executions from within
21- //! a file in parallel, returning results quickly, but not supporting shared
22- //! state in between
17+ //! - [`crate::executors::bash_script_executor::BashScriptExecutor`]
18+ //! - [`crate::executors::stateful_executor::StatefulExecutor`]
2319
2420use std:: path:: Path ;
2521
Original file line number Diff line number Diff line change @@ -161,11 +161,13 @@ pub(crate) enum MarkdownToken {
161161
162162 /// The parsed contents of a code block within backticks, representing a Scrut test:
163163 ///
164+ /// ````markdown
164165 /// ```scrut { ... config ..}
165166 /// # comment
166167 /// $ shell expression
167168 /// output expectations
168169 /// ```
170+ /// ````
169171 TestCodeBlock {
170172 /// The used language token of the test (i.e. `scrut`)
171173 language : String ,
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ use crate::outcome::Outcome;
2121use crate :: parsers:: parser:: ParserType ;
2222
2323/// Renderer that uses the traditional Diff render format
24- /// See: https://en.wikipedia.org/wiki/Diff
24+ /// See: < https://en.wikipedia.org/wiki/Diff>
2525pub struct DiffRenderer { }
2626
2727impl DiffRenderer {
Original file line number Diff line number Diff line change 55 * LICENSE file in the root directory of this source tree.
66 */
77
8- //! This module is concerned with rendering the [`outcome::Outcome`] of test
8+ //! This module is concerned with rendering the [`crate:: outcome::Outcome`] of test
99//! executions.
1010
1111pub mod diff;
You can’t perform that action at this time.
0 commit comments