bats_require_minimum_version
Support in versions pre 1.7.0
#590
Labels
Component: Bash Code
Everything regarding the bash code
Component: Packaging
Regarding packaging for NPM, RPM, etc.
Priority: Critical
Broken behavior in nearly all environments, e.g. wrong test results, internal bats error
Size: Medium
Changes in the same file
Type: Enhancement
Milestone
Is your feature request related to a problem? Please describe.
BW02 instructs users to guard their code with
bats_require_minimum_version 1.5.0
. However, this function is only available with Bats version 1.7.0, leading to an error even when the version is 1.5.0.While that is expected for me, since
bats_require_minimum_version
is not available, it diminishes the value of this function and the warning. It also might be a bad surpise for unaware users.Describe the solution you'd like
Provide a plugin that backports the function for previous versions.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: