320 Commits

Author SHA1 Message Date
Marco Vermeulen
f082e18d4b Temporary remove InstallSpec to prevent failure. 2016-03-20 22:59:31 +00:00
Marco Vermeulen
ea4e474d9a Tweak timeouts for polling conditions in InstallSpec. 2016-01-11 08:20:39 +00:00
Marco Vermeulen
7236d59172 Improve test directory structure using UUIDs. 2016-01-11 08:20:07 +00:00
Marco Vermeulen
e24a89adab Fix race condition in InstallSpec using PollingConditions. 2016-01-06 09:03:39 +00:00
Marco Vermeulen
227da3a743 Split use and default scenarios into separate feature files. 2016-01-01 16:40:58 +00:00
Marco Vermeulen
983fb92b91 Disable candidate list when offline. 2015-12-30 00:42:58 +00:00
Marco Vermeulen
87128b2dd0 ISSUE #397 - Simplify all aspects of offline mode. 2015-12-30 00:17:14 +00:00
Marco Vermeulen
3a9c0f5949 Rework wording of offline warning. 2015-12-29 00:04:15 +00:00
Marco Vermeulen
cab846f09f Drop online broadcast, rewords internet not reachable broadcast. 2015-12-28 23:49:44 +00:00
Marco Vermeulen
6323fc5dea Add cleanup hook to InstallSpec. 2015-12-28 14:52:30 +00:00
Marco Vermeulen
b4ea5e684c Remove obsolete mongodb js resources. 2015-12-28 14:37:00 +00:00
Marco Vermeulen
8ee7bf84bd Move Cukes into groovy test folder structure. 2015-12-28 14:35:54 +00:00
Marco Vermeulen
9876ad5ad9 Renames SdkManBashEnvBuilder to SdkmanBashEnvBuilder. 2015-12-28 11:38:39 +00:00
Marco Vermeulen
a0d0bd46f8 Centralise creation of SdkManBashEnvBuilder in SdkmanEnvSpecification. 2015-12-28 11:36:08 +00:00
Marco Vermeulen
a0ca1f16be Introduce separation between bash and sdkman environments in specs. 2015-12-28 11:22:54 +00:00
Marco Vermeulen
da8a3cbae2 Introduce BashSpecification base class, cuts over all bash specs. 2015-12-27 17:08:49 +00:00
Marco Vermeulen
65139f129b Rename utils package to support. 2015-12-27 12:39:48 +00:00
Marco Vermeulen
56e2e30812 IMPROVEMENT - Add cleanup method to stop bash processes in InstallSpec. 2015-12-26 23:56:47 +00:00
Felipe Fernandez
6e528ec29f FEATURE #388 - Add more specs for install script. 2015-12-25 13:50:37 +01:00
Marco Vermeulen
2d2e74306f Tweaks to InstallSpec, assertions performed with Groovy File API. 2015-12-09 19:09:31 +00:00
Felipe Fernandez
881704f1a3 IMPROVEMENT - Apply comments from PR #391. 2015-11-30 19:10:49 +00:00
Felipe Fernandez
b68a86cece FEATURE #388 - Use byte arrays instead of actual files when using Wiremock. 2015-11-28 09:31:05 +00:00
Felipe Fernandez
66020ef86f FEATURE #388 - First spec for install script. 2015-11-23 15:01:22 +00:00
Marco Vermeulen
e7da3e8372 FIX - Broken tests repaired after SDK bin folder changes. 2015-11-20 13:37:29 +00:00
Marco Vermeulen
282799ce2c IMPROVEMENT #390 - Allow SDKs that do not have a bin folder. 2015-11-20 13:37:29 +00:00
Felipe
557806c049 FEATURE #374 - Move candidates into dedicated candidates folder. 2015-10-22 13:04:18 +01:00
Marco Vermeulen
480abb1036 IMPROVEMENT - Add test to check for duplicate path entries and tweaks init script. 2015-10-13 18:21:59 +03:00
Dylan Cali
ea2df582d5 Dynamically reinitialize sdkman
Check whether a candidate is on the path each time sdkman_init.sh is
sourced. If the candidate is not on the path prefix it, otherwise do
nothing.

This should resolve #251 and resolve #299

Since the path is dynamically checked now the SDKMAN_INIT flag and test
are no longer necessary
2015-10-13 18:21:59 +03:00
Dylan Cali
b83c551995 add test for reinitializing after reset PATH 2015-10-13 18:21:59 +03:00
Marco Vermeulen
c9e6de1ad0 FEATURE #371 - Update help page to show candidate optional on list command. 2015-10-13 12:33:43 +03:00
Marco Vermeulen
06eda9ae8b FEATURE #371 - Introduce list candidates command line functionality. [MV|FF] 2015-10-07 13:35:35 +01:00
Marco Vermeulen
22b09c88ef Uses os.name property inside UnixUtils. 2015-10-05 19:12:44 +01:00
Marco Vermeulen
d37fceb168 Renames List Candidates feature to List Candidate Versions. 2015-10-05 19:01:18 +01:00
Felipe
41550d3279 Make tests portable across different platforms removing hardcoded Linux reference. 2015-10-01 22:12:09 +01:00
Marco Vermeulen
d121e79851 Ensure that home variables are updated on use command. Extract function to set candidate home. 2015-10-01 08:24:16 +01:00
Marco Vermeulen
3388575096 Fixes issue #363: Sets candidate version as default for new candidates when installed through use command. 2015-09-29 18:00:41 +01:00
Marco Vermeulen
e353435d8e Renames feature file. 2015-09-29 10:56:22 +01:00
Marco Vermeulen
8382d57177 Adds scenario for multiple versions in list view. 2015-09-25 08:41:26 +01:00
Marco Vermeulen
e45986b6bc Re-enables and improves List Candidates feature, some minor improvements on the list view function. 2015-09-24 18:38:41 +01:00
Marco Vermeulen
651bf3c746 Only add HOME variables to PATH that are active candidates. 2015-09-22 18:39:26 +01:00
Marco Vermeulen
2fe3c27831 Updates all references of SDKman to SDKMAN. 2015-09-16 06:02:35 -04:00
Marco Vermeulen
c047a5a184 Remove duplicate artifacts after merge. 2015-09-15 21:35:36 -04:00
Marco Vermeulen
19105b2200 Merge branch 'sdkman_refactor' into the_merge
Conflicts:
	src/main/bash/install.sh
	src/main/bash/sdkman-current.sh
	src/main/bash/sdkman-init.sh
2015-09-15 21:03:30 -04:00
Marco Vermeulen
fe2322da7e Fix broken tests.
Conflicts:
	src/test/groovy/sdkman/specs/CurrentCommandSpec.groovy
	src/test/groovy/sdkman/specs/InitialisationSpec.groovy
2015-09-15 10:01:50 -04:00
Marco Vermeulen
0f5139a503 Fix broken tests. 2015-09-09 19:19:51 +01:00
Marco Vermeulen
119336bd65 Clean code in CurrentCommandSpec. 2015-08-31 17:26:50 +01:00
Marco Vermeulen
0b74798e0d Fix broken CurrentCommandSpec iterating over map entries. 2015-08-31 14:32:27 +01:00
Marco Vermeulen
021e802549 Removes obsolete character in InitialisationSpec. 2015-08-31 14:27:50 +01:00
Marco Vermeulen
e044a5bf96 Issue #348 - Fixes broken current command on long available candidate lists.
Conflicts:
	src/main/bash/sdkman-current.sh
2015-08-31 14:27:35 +01:00
Marco Vermeulen
36900eb3df Fixes broken test. Scenario length exceeded in outdated cuke. 2015-08-31 14:20:30 +01:00