Skip to content

Commit bde2b00

Browse files
CopilotEvangelink
andcommitted
Update help and info acceptance tests to include --test-format option
Co-authored-by: Evangelink <11340282+Evangelink@users.noreply.github.com>
1 parent aff6003 commit bde2b00

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

test/IntegrationTests/MSTest.Acceptance.IntegrationTests/HelpInfoTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ Specifies the minimum number of tests that are expected to run.
6464
The directory where the test results are going to be placed.
6565
If the specified directory doesn't exist, it's created.
6666
The default is TestResults in the directory that contains the test application.
67+
--test-format
68+
Format string for displaying tests. Supported placeholders: <display> (display name), <fqn> (fully qualified name), <ns> (namespace), <type> (type name), <method> (method name), <asm> (assembly name). Default is '<display>'.
6769
--timeout
6870
A global test execution timeout.
6971
Takes one argument as string in the format <value>[h|m|s] where 'value' is float.

test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/HelpInfoTests.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ Specifies the minimum number of tests that are expected to run.
5858
The directory where the test results are going to be placed.
5959
If the specified directory doesn't exist, it's created.
6060
The default is TestResults in the directory that contains the test application.
61+
--test-format
62+
Format string for displaying tests. Supported placeholders: <display> (display name), <fqn> (fully qualified name), <ns> (namespace), <type> (type name), <method> (method name), <asm> (assembly name). Default is '<display>'.
6163
--timeout
6264
A global test execution timeout.
6365
Takes one argument as string in the format <value>[h|m|s] where 'value' is float.
@@ -327,6 +329,8 @@ Retry failed tests the given number of times
327329
Disable retry mechanism if the percentage of failed tests is greater than the specified value
328330
--retry-failed-tests-max-tests
329331
Disable retry mechanism if the number of failed tests is greater than the specified value
332+
--test-format
333+
Format string for displaying tests. Supported placeholders: <display> (display name), <fqn> (fully qualified name), <ns> (namespace), <type> (type name), <method> (method name), <asm> (assembly name). Default is '<display>'.
330334
--timeout
331335
A global test execution timeout.
332336
Takes one argument as string in the format <value>[h|m|s] where 'value' is float.
@@ -512,6 +516,10 @@ Note that this is slowing down the test execution.
512516
Arity: 0..1
513517
Hidden: True
514518
Description: Enable the server mode.
519+
--test-format
520+
Arity: 1
521+
Hidden: False
522+
Description: Format string for displaying tests. Supported placeholders: <display> (display name), <fqn> (fully qualified name), <ns> (namespace), <type> (type name), <method> (method name), <asm> (assembly name). Default is '<display>'.
515523
--timeout
516524
Arity: 1
517525
Hidden: False

0 commit comments

Comments
 (0)