Skip to content

Commit a880483

Browse files
authored
[EDI] Testing custom queries (take 2) (#59644)
1 parent 2651110 commit a880483

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

content/code-security/how-tos/scan-code-for-vulnerabilities/scan-from-the-command-line/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ children:
1414
- /setting-up-the-codeql-cli
1515
- /advanced-setup-of-the-codeql-cli
1616
- /using-custom-queries-with-the-codeql-cli
17+
- /testing-custom-queries
1718
- /testing-query-help-files
1819
- /specifying-command-options-in-a-codeql-configuration-file
1920
- /creating-database-bundle-for-troubleshooting
21+
2022
redirect_from:
2123
- /code-security/codeql-cli/using-the-codeql-cli
2224
- /code-security/codeql-cli/getting-started-with-the-codeql-cli

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Testing custom queries
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 %}.
3+
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 %}.
4+
shortTitle: Test custom queries
45
product: '{% data reusables.gated-features.codeql %}'
56
versions:
67
fpt: '*'
@@ -14,10 +15,11 @@ redirect_from:
1415
- /code-security/codeql-cli/testing-custom-queries
1516
- /code-security/codeql-cli/using-the-codeql-cli/testing-custom-queries
1617
- /code-security/codeql-cli/using-the-advanced-functionality-of-the-codeql-cli/testing-custom-queries
17-
contentType: tutorials
18+
- /code-security/tutorials/customize-code-scanning/testing-custom-queries
19+
contentType: how-tos
1820
---
1921

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

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ children:
2020
- /running-codeql-code-scanning-in-a-container
2121
- /customizing-analysis-with-codeql-packs
2222
- /creating-codeql-query-suites
23-
- /testing-custom-queries
2423
- /creating-and-working-with-codeql-packs
2524
- /publishing-and-using-codeql-packs
2625
---
26+

0 commit comments

Comments
 (0)