1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-07-06 16:13:29 +00:00
starship/tests/testsuite
Matan Kushner 3365beae09 test(nodejs): Port nodejs module tests from E2E to integraton (#867)
Replaces the existing nodejs module end-to-end tests with integration tests that don't require preinstalled environmental dependencies.

- Moved the tests to the same file as the module they test
- Created a render_module utility function for rendering modules within tests
- Removed Node.js installation during CI setup
- Add Shell to Context to allow for tests to not run shell-specific code
2020-01-26 16:37:18 -06:00
..
aws.rs test: Ignore AWS tests that depend on the File System (#817) 2020-01-08 18:22:42 -06:00
character.rs Support vicmd_symbol in fish-shell (#254) 2019-08-31 00:59:18 -07:00
cmd_duration.rs fix: Fix incorrect prefix usage in cmd_duration module (#832) 2020-01-18 01:15:08 -06:00
common.rs feat: Implement PowerShell support (#470) 2019-10-16 00:10:16 +09:00
conda.rs fix: Truncate long paths in conda environment names (#694) 2019-12-09 12:59:02 -05:00
configuration.rs fix: Lazy load git repo and only run module if not disabled (#306) 2019-09-09 19:14:38 -04:00
directory.rs feat: Add prefix config to directory module (#642) 2019-12-06 14:19:11 -05:00
dotnet.rs feat: Implement PowerShell support (#470) 2019-10-16 00:10:16 +09:00
env_var.rs feat: Add Environment Variable module (#409) 2019-09-26 17:30:58 +09:00
git_branch.rs perf: Lazy load files from directory (#335) 2019-09-14 09:23:53 -05:00
git_commit.rs feat: Add git_commit module (#673) 2019-12-06 11:57:42 -05:00
git_state.rs refactor: Replace tempdir test utility with tempfile::tempdir (#538) 2019-10-15 23:01:44 +09:00
git_status.rs feat(git_status): Add a stash count segment (#598) 2019-12-28 22:20:36 -05:00
golang.rs feat: Implement PowerShell support (#470) 2019-10-16 00:10:16 +09:00
haskell.rs feat: add Haskell Stack support (#546) 2020-01-25 00:48:39 -06:00
hg_branch.rs perf(hg_branch): Replace direct calls to hg (#803) 2020-01-03 17:51:45 -05:00
hostname.rs feat: Add configuration for hostname truncation (#485) 2019-10-15 01:22:25 +09:00
jobs.rs fix: Lazy load git repo and only run module if not disabled (#306) 2019-09-09 19:14:38 -04:00
line_break.rs Refactor integration tests (#71) 2019-06-06 13:18:00 +01:00
main.rs test(nodejs): Port nodejs module tests from E2E to integraton (#867) 2020-01-26 16:37:18 -06:00
modules.rs fix: Change panicking on unknown module to error print and support module listing flag (#197) 2019-08-20 00:42:25 -04:00
nix_shell.rs Add nix-shell support (#173) 2019-08-25 11:41:20 -04:00
php.rs feat: Add PHP version module (#244) 2019-12-05 13:04:27 -05:00
python.rs ci: Update CI dependencies (#850) 2020-01-17 20:43:29 -05:00
ruby.rs feat: Implement PowerShell support (#470) 2019-10-16 00:10:16 +09:00
terraform.rs feat: Implement terraform module with workspace and version (#644) 2019-12-08 20:42:51 -05:00
time.rs revert: chore: Remove logic for the disabled option from modul… (#489) 2019-10-05 19:03:48 +09:00
username.rs feat: Add option to always show the username module (#408) 2019-09-22 15:32:11 -05:00