Open texastoland opened 8 months ago
It's also in nu_scripts if you still want to use it.
Probably not helpful to document both ways though.
@fdncred I'm down now if you're open to it. I wouldn't discuss nupm itself. Basically:
$env.NU_LIB_DIRS
nupm.nuon
(I think this should be relaxed)tests
directorymod.nu
export def
using std assert
nupm test
to run all visible commands--dir
flag to target a different pathseems like a pain to me.
Seems easier just to use crates/nu-std/testing.nu
But I don't really care, if others like this strategy.
seems like a pain to me.
NGL I wish nupm was included under an experimental
module or something.
Seems easier just to use crates/nu-std/testing.nu
I don't use Rust to manage non-Rust stuff though. FWIW half of those are nearly identical to (in a way less complicated than) std testing
.
But I don't really care, if others like this strategy.
CC @kubouch or whoever has an opinion. Just combing through issues I was interested in.
std testing
module went from deprecated to removed since nushell/nushell#11331 in0.90.0
. Now requires nupm.