inspec/test/unit
Nikita Mathur 456fa5c8f5
CHEF-7670 Ability to set feature preview flag using ENV (#6833)
* Implemented ability to add feature flags in Inspec feature subsystem

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Added usage of env_preview for conditionalising features

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Test cases added for feature preview flag ability

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Minor chnages - Better commenting & smarter methods

Signed-off-by: Nik08 <nikita.mathur@progress.com>

---------

Signed-off-by: Nik08 <nikita.mathur@progress.com>
2023-10-30 21:08:26 +05:30
..
bundles/inspec-supermarket First pass at cleaning deprecations for old minitest/spec-style tests. 2019-10-03 13:45:19 -07:00
dependencies First pass at cleaning deprecations for old minitest/spec-style tests. 2019-10-03 13:45:19 -07:00
dsl Singularize the fetchers directory name 2019-11-22 09:57:28 -05:00
fetchers CHEF-642 Fix for inspec exec fails with git fetcher if current directory does not have .git directory (#6626) 2023-08-31 20:06:24 +05:30
inputs Added new pattern option, fix for input options on dsl and functional test cases for input options 2021-04-21 12:33:54 +05:30
matchers resolves inspec/inspec#6042 (#6043) (#6278) 2022-10-20 14:06:01 -04:00
plugin CHEF-2438 Add train-kubernetes to inspec gemspec (#6512) (#43) 2023-05-17 20:33:27 -04:00
profiles Upgraded mock ubuntu test from 20.04 to 22.04 (#6456) 2023-02-24 16:00:19 +05:30
reporters YAML reporter test fix (#6563) 2023-07-11 10:23:16 -04:00
resources For #6493 : Add postgres_session support for custom port with a socket connection (#6494) (#40) 2023-07-04 16:05:25 -04:00
schema Clean up schema PR. 2020-02-05 17:06:55 -08:00
source_readers First pass at cleaning deprecations for old minitest/spec-style tests. 2019-10-03 13:45:19 -07:00
utils Adds test for licensing_config (#57) 2023-07-06 21:24:05 -04:00
backend_test.rb Removed metaprogramming in Inspec::Backend. 2020-02-03 14:41:37 -08:00
base_cli_test.rb First pass at cleaning deprecations for old minitest/spec-style tests. 2019-10-03 13:45:19 -07:00
cached_fetcher_test.rb These tests probably never passed. 2019-07-29 11:42:30 -07:00
config_test.rb Improve programmatic plugin configuration 2021-01-27 13:31:12 +01:00
dependency_loader_test.rb CFINSPEC-13: Adds code to handle all kinds of version constraint and improved installed gem search logic for the version constraint. 2022-03-04 00:34:46 -05:00
feature_test.rb CHEF-7670 Ability to set feature preview flag using ENV (#6833) 2023-10-30 21:08:26 +05:30
file_provider_test.rb Apply chefstyle -a, and manually remove duplicate requires 2020-12-21 13:25:04 -05:00
impact_test.rb First pass at cleaning deprecations for old minitest/spec-style tests. 2019-10-03 13:45:19 -07:00
json_profile_summary_test.rb Stores output of inspec json to archive and artifact 2020-05-20 12:34:17 +01:00
resource_test.rb Revert "Revert "CFINSPEC-70 Added resource_id attribute for the custom resources in the base class"" 2022-03-04 09:15:52 -05:00
runner_test.rb Licensing - Integrates Software Entitlement (#13) 2023-03-27 10:26:35 -04:00
shell_detector_test.rb Please stop warning about mocha. 2020-02-03 14:49:47 -08:00
ui_test.rb First pass at cleaning deprecations for old minitest/spec-style tests. 2019-10-03 13:45:19 -07:00