mirror of
https://github.com/nushell/nushell.git
synced 2025-04-30 08:04:25 +02:00
# Description Pre-cratification of `nu-command` we added tests that covered the whole command set to ensure consistent documentation style choices and that the search terms which are added are not uselessly redundant. These tests are now moved into the suite of the main binary to truly cover all commands. - **Move parser quickcheck "fuzz" to `nu-cmd-lang`** - **Factor out creation of full engine state for tests** - **Move all-command tests to main context creation** - **Fix all descriptions** - **Fix search term duplicate** # User-Facing Changes As a result I had to fix a few command argument descriptions. (Doesn't mean I fully stand behind this choice, but) positionals (rest/required/optional) and top level descriptions should start with a capital letter and end with a period. This is not enforced for flags. # Tests + Formatting Furthermore I moved our poor-peoples-fuzzer that runs in CI with `quicktest` over the parser to `nu-cmd-lang` reducing its command set to just the keywords (similar to https://github.com/nushell/nushell/pull/15036). Thus this should also run slightly faster (maybe a slight parallel build cost due to earlier dependency on quicktest)
15 lines
339 B
Rust
15 lines
339 B
Rust
#![cfg_attr(not(feature = "os"), allow(unused))]
|
|
#![doc = include_str!("../README.md")]
|
|
mod core_commands;
|
|
mod default_context;
|
|
pub mod example_support;
|
|
mod example_test;
|
|
#[cfg(test)]
|
|
mod parse_const_test;
|
|
|
|
pub use core_commands::*;
|
|
pub use default_context::*;
|
|
pub use example_support::*;
|
|
#[cfg(test)]
|
|
pub use example_test::test_examples;
|