Commit graph

23 commits

Author SHA1 Message Date
Raphael Reitzig
5c886dcd1c feat(ci): Prevent test runs outside of container
It's not safe, we write and delete files all over the place!
2024-04-03 23:56:16 +02:00
Raphael Reitzig
a0aa142288 fix: Respect globally set SDKMAN_DIR
Also, print a warning during shell startup
if a custom install path is set, but
SDKMAN! is not installed there.

fixes #52
2024-04-03 23:54:46 +02:00
Raphael Reitzig
9363426857 fix: Tests for completions with custom install path 2024-04-03 22:20:29 +02:00
Raphael Reitzig
146dc05e37 feat(test): Adopt BeforeAll and AfterAll 2023-06-27 23:03:07 +02:00
Raphael Reitzig
9bc7a83802 fix(test): Replace blank?
Which had apparently been provided
by a dependency, but not anymore.
2023-06-27 23:03:07 +02:00
Raphael Reitzig
4c15f15ced feat(test): Tests for custom install dir
ref: issue #34
2023-06-27 00:03:29 +02:00
Raphael Reitzig
7c0ece3dfb fix(test): Move local test to more current fish ...
... by means of using a more current OS, and
fix a test helper that used a feature now removed from fish.
2023-06-26 09:00:24 +02:00
Raphael Reitzig
ee7edbd9aa fix(test): Adapt tests to changes 5.9 -> 5.18
ref: issue #41
2023-06-25 19:23:59 +02:00
Raphael Reitzig
e9f967501c fix(test): Use kscript as test candidate
instead of crash, which doesn't exist anymore
2023-06-25 19:02:21 +02:00
Raphael Reitzig
3f0a0b9a9e Fix autoenv test
Using `current` as version doesn't work;
it's a symlink that can change. Resolve
the symlink before comparison!
2021-02-26 17:30:37 +01:00
Raphael Reitzig
61f1cf8efc Test for autoenv setting 2021-02-26 17:14:16 +01:00
Raphael Reitzig
244456c681 Add GitHub workflows for test and release
Also:
 - Fix test scenario that failed due
   to fuzzy completions
 - Bump Cucumber

Fixes #36
2021-01-22 03:36:49 +01:00
Raphael Reitzig
16d432313f Add tests for 5.9.2 compatibility 2021-01-22 00:38:01 +01:00
Raphael Reitzig
193189ed91 Add tests for 5.9.1 compatibility
cf. issue #35
2020-12-14 02:37:03 +01:00
Raphael Reitzig
15997dcba8 Allow to pass parameters to Cucumber in Docker.
Also add some comments.
2020-05-26 16:35:31 +02:00
Raphael Reitzig
2afb22f6af Fix tests on macOS. Also clarifies a test description. 2020-05-26 06:12:38 +02:00
Raphael Reitzig
efd9cf0c0b Polish Travis build. 2020-05-26 05:56:01 +02:00
Raphael Reitzig
7e97c4c1c1 Migrate installer test to Cucumber. 2020-05-26 05:07:24 +02:00
Raphael Reitzig
42aff3b4c5 Migrate PATH zombie test to Cucumber. 2020-05-26 04:48:12 +02:00
Raphael Reitzig
0a948c81c1 Migrate reinitialization test to Cucumber. 2020-05-26 04:22:01 +02:00
Raphael Reitzig
56bc601b17 Migrate wrapper test to Cucumber. 2020-05-26 02:49:06 +02:00
Raphael Reitzig
479fa1e541 Account for fuzzy completions.
Introduced in Fish 3.1
cf. https://github.com/fish-shell/fish-shell/issues/5467

Needed to make tests less strict.
Instead of checking the exact list of matches,
we require the expected ones and exclude some others.
2020-05-26 00:11:06 +02:00
Raphael Reitzig
0c15f199cd Migrate completion tests to Cucumber.
Also retire Fish 2.x + macOS test;
installation of custom brew didn't work out anymore.
2020-05-25 21:05:10 +02:00