New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stdlib: complete the test framework #8819
Comments
I think it is important to be able to load everything from a submodule, I mean something like I would rename the |
i think it's not possible right now with how the modules are nested 🤔 if you try to Error: nu::parser::export_not_found
× Export not found.
╭─[entry #1:1:1]
1 │ use std dirs
· ──┬─
· ╰── could not find imports
╰──── for instance |
They had to be in a single module since bb8949f. I am glad that now they can be again in submodules. (Although they cannot be imported directly.) I agree that in current implementation it is not possible, also I think it would be preferable. Because we are going to have a standard library, not a standard book. I do not want to expand the scope of this issue, you can create another one for discussing how to organize stdlib submodules. For now I think we have to agree at least in the name of the test runner command. |
👍
it's already in the roadmap under "structuring the library" 😉
|
Okay. I'll create a PR after #8776 to move the runner into stdlib, named |
coool, looking forward to seing this then 😋 |
@presidento if you want to work more on the test framework, i can add a task to the description above and we can let this open 😉 |
Almost, just documentation is needed: nushell/nushell.github.io#868 |
gotcha, that's great 👌 |
Move test runner to standard library. Originated from #8819 # After Submitting I'll update the documentation about testing: http://www.nushell.sh/book/testing.html --------- Co-authored-by: Mate Farkas <Mate.Farkas@oneidentity.com>
i think this has been addressed with the PRs above 👍 |
waiting for
setup
andteardown
commands to unit tests #8776resolved by
setup
andteardown
commands to unit tests #8776Related problem
cc/ @presidento
time to wrap up the testing framework, am i right? 😋
Describe the solution you'd like
std
Describe alternatives you've considered
No response
Additional context and details
No response
The text was updated successfully, but these errors were encountered: