-
Notifications
You must be signed in to change notification settings - Fork 2.1k
stdlib: complete the test framework #8819
Copy link
Copy link
Closed
Labels
A:std-libraryDefining and improving the standard library written in NuDefining and improving the standard library written in Nucategory:enhancementNew feature or requestNew feature or requesttestsissues to add tests or fix testsissues to add tests or fix tests
Milestone
Description
waiting for
- stdlib: refactor into a multi-module library #8815
- stdlib test runner: implement
setupandteardowncommands to unit tests #8776
resolved by
- stdlib test runner: implement
setupandteardowncommands to unit tests #8776 - Move unit test runner to standard library #8850
- Update testing chapter nushell.github.io#868
Related problem
cc/ @presidento
time to wrap up the testing framework, am i right? 😋
Note
comes from #8815 (comment)
Describe the solution you'd like
- make the test runner a part of
std - maybe use the following structure?
crates/nu-std/lib/
├── testing
│ ├── assert.nu
│ ├── run.nu
│ └── setup.nu
├── dirs.nu
├── ...
└── xml.nu
Describe alternatives you've considered
No response
Additional context and details
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A:std-libraryDefining and improving the standard library written in NuDefining and improving the standard library written in Nucategory:enhancementNew feature or requestNew feature or requesttestsissues to add tests or fix testsissues to add tests or fix tests