xonsh/tests
Gordon Ball e02c7d76c4
Test RC loading in different startup configurations (#4279)
* test_main: test lots of startup order combinations

This is based on the startup order described in
https://github.com/xonsh/xonsh/issues/4096#issuecomment-791991841
and adds an (ugly) parameterised test which tries lots of different
CLI combinations, and verifies which RC files (if any) get loaded,
and in what order.

* test_script_startup: skip on windows
2021-05-14 16:12:34 +03:00
..
aliases black updates to tests and docs 2020-08-26 10:10:59 -05:00
bin Run same wc,pwd,cat from tests/bin on Windows. 2020-08-10 01:43:51 -04:00
completers Fix skip completer (#4263) 2021-05-11 15:49:45 -04:00
fake_lib more mocks for test_xonfig_kernel 2020-09-23 04:35:44 -04:00
histories Fix tests 2020-09-23 21:15:37 +02:00
man1 tests for man completion 2015-06-17 22:58:05 +02:00
procs Procs Initial Refactor (#3897) 2020-10-20 10:21:11 -04:00
prompt Add a better test suite for "vc.py", and fix "include_untracked" logic (#4041) 2021-01-05 09:26:19 -05:00
scripts xonsh script.xsh should not fail over 2017-01-11 21:59:42 +08:00
test_lib Fix legitimate builtins has no attribute __xonsh__ errors 2020-08-10 13:24:10 +02:00
xontribs Improve jedi completer (#4264) 2021-05-11 13:10:58 +03:00
xpack test subpackage 2015-03-29 22:53:33 -05:00
.somedotfile dotfile matching 2018-09-12 18:12:02 -04:00
bashrc.sh added tests for foreign shells 2015-10-10 19:52:53 -04:00
batch.bat Add test for sourcing bat file on windows 2016-04-18 00:41:11 +02:00
conftest.py Improve jedi completer (#4264) 2021-05-11 13:10:58 +03:00
run_pwd.xsh more fixes 2016-09-09 00:58:32 -04:00
sample.xsh fixed up dashing 2018-11-08 13:16:44 -05:00
test_aliases.py feat: Added ability to get arguments list in ExecAlias (#4201) 2021-04-15 09:39:13 -04:00
test_ansi_colors.py Fix for crash if $XONSH_COLOR_STYLE is set to something invalid (#4253) 2021-05-11 15:51:50 -04:00
test_ast.py Flake8 1 (#3550) 2020-05-05 06:42:28 -04:00
test_base_shell.py many test fixes 2018-09-13 14:03:35 -04:00
test_bashisms.py Flake8 1 (#3550) 2020-05-05 06:42:28 -04:00
test_builtins.py Procs Initial Refactor (#3897) 2020-10-20 10:21:11 -04:00
test_cli_utils.py Completer py api (#4018) 2020-12-16 14:26:22 -05:00
test_color_tools.py Fix tests 2020-09-23 21:15:37 +02:00
test_commands_cache.py Fix commands cache testing (#4257) 2021-05-06 09:54:09 -04:00
test_completer.py Non exclusive completers (#4259) 2021-05-11 09:50:40 -04:00
test_completion_context.py Completion context (#4017) 2021-03-30 13:37:56 -04:00
test_contexts.py black tests 2018-08-30 09:18:49 -05:00
test_dirstack.py Flake8 1 (#3550) 2020-05-05 06:42:28 -04:00
test_dirstack_unc.py Flake8 1 (#3550) 2020-05-05 06:42:28 -04:00
test_environ.py Add groups to env vars (#4026) 2021-01-04 12:21:44 -05:00
test_events.py some fixes, but not enough 2019-02-12 18:32:11 -05:00
test_execer.py Fix annotated assignment (#4278) 2021-05-12 12:39:11 -04:00
test_foreign_shells.py Flake8 1 (#3550) 2020-05-05 06:42:28 -04:00
test_history_dummy.py feat: Add saving current working directory (cwd) to the history (#4271) 2021-05-11 15:23:57 -04:00
test_history_json.py feat: Add saving current working directory (cwd) to the history (#4271) 2021-05-11 15:23:57 -04:00
test_history_sqlite.py feat: Add saving current working directory (cwd) to the history (#4271) 2021-05-11 15:23:57 -04:00
test_imphooks.py black updates to tests and docs 2020-08-26 10:10:59 -05:00
test_integrations.py feat: Ability to call the program by name from callable alias with the same name without the infinite loop error (#4218) 2021-05-10 09:30:41 -04:00
test_jsonutils.py black tests 2018-08-30 09:18:49 -05:00
test_jupyter_kernel.py Completion context (#4017) 2021-03-30 13:37:56 -04:00
test_lazyasd.py black tests 2018-08-30 09:18:49 -05:00
test_lazyjson.py black tests 2018-08-30 09:18:49 -05:00
test_lexer.py Completion context (#4017) 2021-03-30 13:37:56 -04:00
test_main.py Test RC loading in different startup configurations (#4279) 2021-05-14 16:12:34 +03:00
test_man.py Completion context (#4017) 2021-03-30 13:37:56 -04:00
test_mpl.py Flake8 1 (#3550) 2020-05-05 06:42:28 -04:00
test_news.py Remove vended ptk (#4107) 2021-03-01 11:56:32 -05:00
test_parser.py Fix annotated assignment (#4278) 2021-05-12 12:39:11 -04:00
test_path_completers.py Fix skip completer (#4263) 2021-05-11 15:49:45 -04:00
test_pipelines.py Added casting CommandPipeline to int, hash, str (#4205) 2021-03-30 13:36:01 -04:00
test_platform.py black tests 2018-08-30 09:18:49 -05:00
test_ptk_completer.py Completion context (#4017) 2021-03-30 13:37:56 -04:00
test_ptk_highlight.py black updates to tests and docs 2020-08-26 10:10:59 -05:00
test_ptk_history.py black updates to tests and docs 2020-08-26 10:10:59 -05:00
test_ptk_multiline.py black updates to tests and docs 2020-08-26 10:10:59 -05:00
test_ptk_shell.py Cleanup remaining vended ptk bits (#4130) 2021-03-01 16:55:23 -05:00
test_pyghooks.py re-apply original changes 2020-10-27 15:23:58 +01:00
test_python_completers.py Improve import completions (#4265) 2021-05-11 01:48:53 +03:00
test_readline_shell.py black updates to tests and docs 2020-08-26 10:10:59 -05:00
test_shell.py feat: Added ability to set XONSH_HISTORY_FILE (#4175) 2021-03-16 17:07:11 -04:00
test_tools.py Add $COMPLETION_MODE='menu-complete' to enable readline menu-complete (#3876) 2020-11-05 16:12:15 -05:00
test_vox.py black updates to tests and docs 2020-08-26 10:10:59 -05:00
test_wizard.py Flake8 1 (#3550) 2020-05-05 06:42:28 -04:00
test_xonfig.py more mocks for test_xonfig_kernel 2020-09-23 04:35:44 -04:00
test_xonsh.xsh many test fixes 2018-09-13 14:03:35 -04:00
test_xontribs.py refactor: replace xontribs.json with xontribs_meta.py 2020-11-10 22:12:27 +05:30
test_xoreutils.py black updates to tests and docs 2020-08-26 10:10:59 -05:00
tools.py Fix skip completer (#4263) 2021-05-11 15:49:45 -04:00