Thanks to visit codestin.com
Credit goes to github.com

Skip to content

anotation %disabled vs docs description #374

@pocelka

Description

@pocelka

For %disabled anotation document says:

%disabled	Package/procedure	Used to disable a suite or a test. Disabled suites/tests do not get executed, they are however marked and reported as disabled in a test run

When this notation is placed on the suite level package is not reported as disabled.

Settings:

   -- %suite
   -- %displayname(Asset Area Test Cases)
   -- %rollback(manual)
   -- %disabled

Output:

Asset Area Test Cases

Finished in .001963 seconds
0 tests, 0 failed, 0 errored, 0 disabled, 0 warning(s)

Per documentation description, I would expect for the suite level same output as for disabled individual test cases (or something similar):

Asset Area Test Cases
  Hard Suspend - Check duration period in CDM table (IGNORED)
  Hard Suspend - Check reasons in CDM table (IGNORED)

Finished in .002464 seconds
2 tests, 0 failed, 0 errored, 2 disabled, 0 warning(s)

Maybe docs are not exact for the suite level?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions