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
dependabot[bot]
9714c3979c
Update cucumber requirement from ~> 8 to ~> 9 in /test
...
Updates the requirements on [cucumber](https://github.com/cucumber/cucumber-ruby ) to permit the latest version.
- [Release notes](https://github.com/cucumber/cucumber-ruby/releases )
- [Changelog](https://github.com/cucumber/cucumber-ruby/blob/main/CHANGELOG.md )
- [Commits](https://github.com/cucumber/cucumber-ruby/compare/v8.0.0...v9.0.1 )
---
updated-dependencies:
- dependency-name: cucumber
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-02 16:48:21 +01:00
Raphael Reitzig
c5ec314ef5
fix: Bump test Ruby to 3.3
2024-01-02 16:40:03 +01: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
dependabot[bot]
e27230839a
Update cucumber requirement from ~> 3.1.0 to ~> 8.0.0 in /test
...
Updates the requirements on [cucumber](https://github.com/cucumber/cucumber-ruby ) to permit the latest version.
- [Release notes](https://github.com/cucumber/cucumber-ruby/releases )
- [Changelog](https://github.com/cucumber/cucumber-ruby/blob/main/CHANGELOG.md )
- [Commits](https://github.com/cucumber/cucumber-ruby/compare/v3.1.0...v8.0.0 )
---
updated-dependencies:
- dependency-name: cucumber
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
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
Raphael Reitzig
b5bec7bb45
Simplify tests.
2019-11-06 21:43:59 +01:00
Raphael Reitzig
ac99d1464c
Final macOS incompatibility fix.
...
Closes issue #29 .
2019-11-06 20:52:07 +01:00
Raphael Reitzig
0d42de6d9c
issue #29 : Local Homebrew formula for fish 2
2019-11-05 05:52:02 +01:00
Raphael Reitzig
060169f5da
Merge branch 'dev' into macos-compat
2019-11-05 04:54:15 +01:00
Raphael Reitzig
e41ccb9ce8
Offer to install SDKMAN! if not already installed.
...
Fixes issue #26
Also:
- Change language in README to clarify that
SDKMAN! is not included.
- Polishes to `.editorconfig`.
2019-11-05 04:24:36 +01:00
Raphael Reitzig
415c2a0bb2
Fix reinitialization test.
2019-11-05 03:48:59 +01:00
Raphael Reitzig
5d7e1d43f6
Merge branch 'dev' into macos-compat
2019-07-31 03:16:23 +02:00
Raphael Reitzig
735760bb25
issue #27 Fish 2 compatibility: support old PATH handling, as well
2019-07-31 02:47:36 +02:00
Raphael Reitzig
018c9f01a3
issue #27 Fish 3 compatibility: Remove math/test condition completely.
2019-07-31 02:32:07 +02:00
Raphael Reitzig
6934dbfb0f
issue #27 Fish 3 compatibility: adapt to new PATH handling
...
cf. https://github.com/fish-shell/fish-shell/issues/436
2019-07-31 02:23:12 +02:00
Raphael Reitzig
c02c756baf
issue #27 Fish 3 compatibility: replace math
with test
in conditions
...
cf. https://github.com/fish-shell/fish-shell/issues/4777
2019-07-31 02:20:17 +02:00
Raphael Reitzig
b1887e4170
issue #29 - Add macOS alternative for sha256sum
.
2019-07-31 01:58:29 +02:00
Raphael Reitzig
0d080212d2
Verify (re-)initialization of SDKMAN env vars works.
...
- Add new test that covers the two cases considered so far.
Housekeeping:
- Add `.gitignore`
- Add `.editorconfig`
2019-07-30 22:19:32 +02:00
Raphael Reitzig
85d10acc47
Preserve all X_HOME environment variables created by SDKMAN!.
...
Adresses issue #24 .
2018-11-09 20:18:01 +01:00
Raphael Reitzig
88c81dc479
Implements a nasty hack for issue #19 : mangle sdkman-init.
2018-07-19 01:22:19 +02:00
Raphael Reitzig
ba46492522
Adds test case for issue #19 .
2018-07-19 00:02:31 +02:00
Raphael Reitzig
597945453d
Offline mode now works.
...
- Initialization now delegates do sdkman-init.sh
- bash-runner now catches all SDKMAN_* environment variables.
Fixes issue #17
Unearthes issue #19
2018-07-18 23:35:32 +02:00
Raphael Reitzig
e01e9a4bea
Refactoring: bash calling in its own function.
...
Also:
- Fixes Travis build reg. bf13d2f
.
- Wrapper test now cleans up after itself.
2018-07-18 22:05:57 +02:00
Raphael Reitzig
b6a1469ed5
Completion of install now admits a path for local installs.
...
Resolves issue #16 .
2018-07-18 21:35:24 +02:00
Raphael Reitzig
08404e48fa
Adds dummy completions instead of available versions.
...
Should reduce confusion until issue #4 is handled.
2018-07-16 23:12:31 +02:00
Raphael Reitzig
fd1b0b94ce
Propose only installed candidates where appropriate.
...
Resolves issue #13 .
2018-07-15 12:41:44 +02:00
Raphael Reitzig
e13d3f2f50
Adds completion tests.
...
Resolves issue #7 .
2018-07-15 12:27:48 +02:00
Raphael Reitzig
81eecf50d8
Missing test.
2018-07-14 22:32:52 +02:00
Raphael Reitzig
e8b8b52080
Adds a test script.
...
Should protect against some of the most rudimentary regressions.
2018-07-14 19:55:14 +02:00