Description
Summary
sf project deploy validate : Can not use value --test-level: NoTestRun
If I want to validate the future deployment of a single layout, I should be able to do so without running test classes :)
Note: --ignore-warnings
is not accepted either
Steps To Reproduce
Any call to sf project deploy validate with --test-level: NoTestRun
Expected result
Deployment validation without running test classes
Actual result
Error (1): Expected --test-level=NoTestRun to be one of: RunAllTestsInOrg, RunLocalTests, RunSpecifiedTests
Additional information
System Information
$ sf version --json --verbose
» Warning: sfdx-hardis is a linked ESM module and cannot be auto-transpiled. Existing compiled source will be used instead.
{
"architecture": "win32-x64",
"cliVersion": "@salesforce/cli/2.58.7",
"nodeVersion": "node-v20.16.0",
"osVersion": "Windows_NT 10.0.22631",
"rootPath": "C:\\Users\\33614\\AppData\\Roaming\\npm\\node_modules\\@salesforce\\cli",
"shell": "C:\\Program Files\\Git\\usr\\bin\\bash.exe",
"pluginVersions": [
"@oclif/plugin-autocomplete 3.2.2 (core)",
"@oclif/plugin-commands 4.0.13 (core)",
"@oclif/plugin-help 6.2.10 (core)",
"@oclif/plugin-not-found 3.2.18 (core)",
"@oclif/plugin-plugins 5.4.6 (core)",
"@oclif/plugin-search 1.2.7 (core)",
"@oclif/plugin-update 4.5.5 (core)",
"@oclif/plugin-version 2.2.11 (core)",
"@oclif/plugin-warn-if-update-available 3.1.13 (core)",
"@oclif/plugin-which 3.2.12 (core)",
"@salesforce/cli 2.58.7 (core)",
"apex 3.4.8 (core)",
"api 1.2.1 (core)",
"auth 3.6.54 (core)",
"data 3.6.5 (core)",
"deploy-retrieve 1.17.6 (user) published 389 days ago (Wed Aug 23 2023) (latest is 3.12.10)",
"dev 2.4.2 (user) published 20 days ago (Mon Aug 26 2024)",
"info 3.4.3 (core)",
"limits 3.3.29 (core)",
"marketplace 1.2.25 (core)",
"org 4.5.7 (core)",
"packaging 2.8.6 (user) published 2 days ago (Sat Sep 14 2024)",
"schema 3.3.26 (core)",
"settings 2.3.16 (core)",
"sobject 1.4.33 (core)",
"source 3.5.18 (core)",
"telemetry 3.6.10 (core)",
"templates 56.3.17 (core)",
"trust 3.7.27 (core)",
"user 3.5.29 (core)",
"@salesforce/sfdx-scanner 3.23.0 (user) published 174 days ago (Tue Mar 26 2024) (latest is 4.5.0)",
"lightning-flow-scanner 2.22.0 (user) published 155 days ago (Sun Apr 14 2024) (latest is 2.34.0)",
"sfdmu 4.36.0 (user) published 8 days ago (Sat Sep 07 2024)",
"sfdx-essentials 2.12.0 (user) published 1007 days ago (Tue Dec 14 2021)",
"sfdx-git-delta 5.44.0 (user) published 3 days ago (Fri Sep 13 2024)",
"sfdx-hardis 5.0.0 (link) C:\\git\\pro\\sfdx-hardis2",
"texei-sfdx-plugin 2.7.0 (user) published 6 days ago (Tue Sep 10 2024)"
]