Commit graph

90 commits

Author SHA1 Message Date
Terts Diepraam
0fcc1c78eb fix: update line numbers in panic messages in tests 2024-03-04 07:23:16 +01:00
Tamino Bauknecht
f0972251e1 test: Add directory symlink to tests/itest/
Additionally, the test output was regenerated using "just idump".
Note that manual edits are necessary to ensure the absolute path in
tests/cmd/ starts with "[CWD]".
2024-03-04 07:12:23 +01:00
Tamino Bauknecht
33a85e41c8 test: Add integration tests and powertests for --absolute flag
Note that the absolute paths in tests/cmd/ need to have their root at
[CWD] and not /build/source/ for "cargo test" work.
The command "just idump" will overwrite the files in tests/cmd/ leading
to a failing "cargo test".
2024-03-04 07:12:23 +01:00
Christina Sørensen
559187cb90 chore: cleaning dirs
This commit is badly made as I fd up when doing it

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-03-03 15:51:57 +01:00
Christina Sørensen
0647d04783 test: regenerate classification related tests 2024-01-28 09:37:19 +01:00
Guillermo Perez
367ff558a6 feat(flags)!: add --classify=always,auto,never
BREAKING CHANGE:
--classify now accepts WHEN (always,auto,never). When none specified defaults to "auto" instead of previous "always" behavior
2024-01-28 09:37:19 +01:00
Christina Sørensen
cbaaa1273e fix(tests): remove version testing
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-01-25 14:56:09 +01:00
MartinFillon
8f5121ca2d test: updated tests to fit new features 2024-01-06 11:14:07 +01:00
Christina Sørensen
cd4038726c test: regenerate version tests... and others
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-12-21 06:28:31 +01:00
SPQV MF
2bedc823c3 test: update powertest expected help message output 2023-12-12 09:41:23 +01:00
SPQV MF
131ad8afc1 test: add tests for non-recent/recent custom time style 2023-12-12 09:41:23 +01:00
Christina Sørensen
b19d61f0e5 test(powertests): regenerate
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-12-12 08:59:31 +01:00
Christina Sørensen
150ae83cba test: regen powertests
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-12-09 15:25:21 +01:00
Christina Sørensen
81d2f9ce81 test(power): fix powertests post-release
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-30 12:46:23 +01:00
Christina Sørensen
fce16adee0 test(powertest): fix version tests
I suppose these should be regenerated as part of the release process... I'll do
that eventually...

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-26 06:56:51 +01:00
Christina Sørensen
88b9ddced9 test: regenerate --help tests
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-22 16:42:10 +01:00
Christina Sørensen
6997414f50 test: long view options
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-16 14:41:07 +01:00
Christina Sørensen
7616ad5903 test: filtering and sorting
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-16 14:41:07 +01:00
Christina Sørensen
9c55a616c2 test: display and meta options
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-16 14:41:07 +01:00
Christina Sørensen
6ea8ff4715 test(powertests): add hashed versions of powertests
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-16 10:06:51 +01:00
Christina Sørensen
4f949fc9bb test(powertest): powertests using generated testdirs
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-13 17:41:03 +01:00
MartinFillon
2273e29bc0 test: Implements tests using the generated directory
Picked from #592
2023-11-13 17:41:03 +01:00
Christina Sørensen
d6d02d14e8 feat(powertest): add powertest
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-13 17:41:03 +01:00
MartinFillon
66dc7551bf fix(git)!: remove Repo column when using --git-repos when no git repo
Repo column was always showing even tho no repo was here
see eza-community/eza#579 first point

test(nix): changed nix tests on git repos
2023-11-07 11:10:56 +01:00
Mélanie Chauvel
852938138e fix(symlink): don’t display target’s size if we’re not dereferencing 2023-10-20 18:53:38 +02:00
PThorpe92
37776ec6f3
feat!: remove --no-icons in favor of --icons=always,auto,never. default is auto 2023-10-17 14:45:34 -04:00
PThorpe92
d9489a4741
ci: adjust test case to icons=auto (no icons should show due to tty) 2023-10-16 09:46:40 -04:00
PThorpe92
45857f0cf0
feat: add icons=always,auto,never. dont display icons in a tty|piped 2023-10-16 09:46:32 -04:00
Christina Sørensen
4cd9731c15
test(local): move classify tests to local
Here, we introduce the `nix-local` feature, for features meant only
to exist locally in the nix sandbox.

This is an attempt to avoid the CI runner's unit testing, as that fails
to set the grid width correctly.

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-10-05 14:59:48 +02:00
Christina Sørensen
702246b8d8
test(all): classify-hyperlink test case for width 50
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-10-05 13:53:48 +02:00
Sandro-Alessio Gierens
f555d42972 refactor: fix rustfmt issues and place skips where needed
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2023-09-23 19:11:19 +02:00
Christina Sørensen
c5b544c5ae
Merge pull request #381 from Hulxv/listing-files-only
feat: Listing files only
2023-09-23 18:46:56 +02:00
Christina Sørensen
1211398dba
test(nix): regen git_repos_no_status
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-09-21 05:24:43 +02:00
Hulxv
b0d44fcd9e test: test for listing files only 2023-09-19 00:14:38 +03:00
Christina Sørensen
2aa0f8f0dc
test(trycmd): remove non-deterministic test
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-09-14 19:37:30 +02:00
Martin Fillon
9b805033e1 test(tests_unix): removed git test breaking on nix 2023-09-14 15:38:49 +02:00
Martin Fillon
2f9199cf28 test(unix_tests): fixed unix tests to remove any distro specific 2023-09-14 13:29:40 +02:00
MartinFillon
20f314d2f5
test(unix_tests): add more unix_tests 2023-09-14 00:53:14 +02:00
MartinFillon
8ed1aaade5
test(windows): fixed windows tests being wrong 2023-09-13 20:29:55 +02:00
MartinFillon
a4acd6307e test(windows): Convert windows tests with new itest dir 2023-09-13 19:43:01 +02:00
Christina Sørensen
5d61572ffc
test(nix): regenerate nix tests
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-09-13 05:53:02 +02:00
MartinFillon
f126508b44
test(unix tests): Modified unix and all tests
Made unix and all tests adapted to the new directory
2023-09-13 05:52:59 +02:00
MartinFillon
ac46527a5b
test(test directory): Adding more content to test
Added:
Symlinks and broken link
Files with multiple extensions
Directories with files

Breaking Changes:
TEST cannot be run for the moment on this commit.
2023-09-13 05:52:55 +02:00
Christina Sørensen
f944c42681
test(trycmd): freeze nix tests 2023-09-12 14:08:46 +02:00
Christina Sørensen
73e93b1600
test(trycmd): add long_time_style_relative_nix.toml 2023-09-12 14:08:42 +02:00
Christina Sørensen
3a0523dac9
test(trycmd): add long_octal_nix.toml 2023-09-12 14:08:38 +02:00
Christina Sørensen
569d27c6d8
test(trycmd): add long_icons_nix.toml 2023-09-12 14:08:35 +02:00
Christina Sørensen
9982fd701a
test(trycmd): add long_header_nix.toml 2023-09-12 14:08:32 +02:00
Christina Sørensen
748a6fbd30
test(trycmd): add long_grid_nix.toml 2023-09-12 14:08:29 +02:00
Christina Sørensen
ec89caeb38
test(trycmd): add long_git_repos_no_status_nix.toml 2023-09-12 14:08:23 +02:00