Project

General

Profile

Actions

action #34486

closed

database of "test cases" or how to search for tests we have in openQA

Added by okurz over 6 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
Start date:
2018-04-08
Due date:
% Done:

0%

Estimated time:

Description

Motivation

From time to time a request comes up "how to search for test cases in openQA". In many cases the definition of "test cases" is not clear to the person asking or no clear relation to our openQA terms exists. However, we should be able to provide an easy search interface which will simply by default return search results matching any of "testsuites", "scenarios", "test modules", "test steps".

Acceptance criteria

  • DONE AC1: There is a common way to search for "tests" in openQA as a catch-all however ambiguous the term is understood
  • DONE AC2: The user is asked one and only one question, that is the search term, nothing else
  • AC3: Given a generic search term, When that search term matches any of test suite, scenario, test module, test steps or just mention in test code, Then all definition places are shown

Acceptance tests

  • DONE AT1-1: manual UX test: An uninformed user can find the search field over the openQA web UI
  • AT3-1: search term "foo" finds a test suite "foo"
  • AT3-2: search term "foo" finds a test suite "123foo456"
  • DONE AT3-3: search term "foo" finds a scenario "openSUSE-textmode@foo" for machine "foo"
  • DONE AT3-4: search term "foo" finds a test module "tests/console/foo.pm" from a test distribution folder within /var/lib/openqa/share/tests/*/
  • DONE AT3-5: search term "foo" finds a reference to "foo" in code within a test module "tests/console/bar.pm" as in AT3-4

Suggestion


Related issues 4 (2 open2 closed)

Related to openQA Project (public) - action #38024: [functional][y] Add ability to search for a module occurrences in all the tests of job groupResolvedoorlov2018-06-292019-01-29

Actions
Related to openQA Tests (public) - coordination #64126: [qe-core][epic] Identify packages that have automated indirect testing or that have sufficient build time test suiteNew

Actions
Has duplicate openQA Project (public) - action #65954: Create a way to check which jobs contain a testRejectedokurz2020-04-21

Actions
Copied to openQA Project (public) - coordination #70840: [epic] further features for the "search" featureNew2020-09-16

Actions
Actions

Also available in: Atom PDF