{"id":62574,"library":"nu-test-support","title":"nu-test-support","description":"Provides support utilities for writing tests for the Nushell project.","status":"active","version":"0.113.1","language":"rust","source_language":null,"source_url":"https://github.com/nushell/nushell","tags":["nushell","testing","test-support","cli"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nnu-test-support = \"0.113.1\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add nu-test-support","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"nu","correct":"use nu_test_support::nu;"}],"quickstart":{"code":"use nu_test_support::nu;\n#[test]\nfn test_example() {\n    let actual = nu!(\"echo hello\");\n    assert_eq!(actual.out, \"hello\");\n}","lang":"rust","description":"Runs a Nushell command in a test and checks its output."},"warnings":[],"env_vars":null,"search_vec":"'cli':20 'nu':2 'nu-test-support':1 'nushel':13,15 'project':14 'provid':5 'support':4,6,19 'test':3,10,16,18 'test-support':17 'util':7 'write':9","created_at":"2026-06-17T16:33:05.329440+00:00","updated_at":"2026-06-17T16:33:05.329440+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/nushell/nushell","github":"https://github.com/nushell/nushell","docs":"https://docs.rs/nu-test-support/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}