Skip to content

Commit 4f39eb0

Browse files
mchammer01Copilot
andauthored
Revert "[EDI] Testing custom queries" (#59640)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent f79e0a8 commit 4f39eb0

File tree

4 files changed

+6
-24
lines changed

4 files changed

+6
-24
lines changed

content/code-security/how-tos/scan-code-for-vulnerabilities/customize-code-scanning/index.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

content/code-security/how-tos/scan-code-for-vulnerabilities/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,8 @@ redirect_from:
1111
children:
1212
- /configure-code-scanning
1313
- /manage-your-configuration
14-
- /customize-code-scanning
1514
- /scan-from-the-command-line
1615
- /scan-from-vs-code
1716
- /integrate-with-existing-tools
1817
- /troubleshooting
1918
---
20-

content/code-security/tutorials/customize-code-scanning/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ topics:
1010
- Code scanning
1111
- CodeQL
1212
contentType: tutorials
13+
redirect_from:
14+
- /code-security/how-tos/scan-code-for-vulnerabilities/customize-code-scanning
1315
children:
1416
- /evaluating-default-setup-for-code-scanning
1517
- /preparing-your-code-for-codeql-analysis
@@ -18,7 +20,7 @@ children:
1820
- /running-codeql-code-scanning-in-a-container
1921
- /customizing-analysis-with-codeql-packs
2022
- /creating-codeql-query-suites
23+
- /testing-custom-queries
2124
- /creating-and-working-with-codeql-packs
2225
- /publishing-and-using-codeql-packs
2326
---
24-

content/code-security/how-tos/scan-code-for-vulnerabilities/customize-code-scanning/testing-custom-queries.md renamed to content/code-security/tutorials/customize-code-scanning/testing-custom-queries.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
title: Testing custom queries
3-
shortTitle: Test custom queries
4-
intro: Verify your custom {% data variables.product.prodname_codeql %} queries and catch breaking changes before they affect your {% data variables.product.prodname_code_scanning %} results following new releases of the {% data variables.product.prodname_codeql_cli %}.
3+
intro: You can set up tests for your {% data variables.product.prodname_codeql %} queries to ensure that they continue to return the expected results with new releases of the {% data variables.product.prodname_codeql_cli %}.
54
product: '{% data reusables.gated-features.codeql %}'
65
versions:
76
fpt: '*'
@@ -15,11 +14,10 @@ redirect_from:
1514
- /code-security/codeql-cli/testing-custom-queries
1615
- /code-security/codeql-cli/using-the-codeql-cli/testing-custom-queries
1716
- /code-security/codeql-cli/using-the-advanced-functionality-of-the-codeql-cli/testing-custom-queries
18-
- /code-security/tutorials/customize-code-scanning/testing-custom-queries
19-
contentType: how-tos
17+
contentType: tutorials
2018
---
2119

22-
## Testing custom queries
20+
## About testing custom queries
2321

2422
{% data variables.product.prodname_codeql %} provides a simple test framework for automated regression testing
2523
of queries. Test your queries to ensure that they behave as expected.

0 commit comments

Comments
 (0)