Project

General

Profile

Actions

action #182708

open

coordination #154768: [saga][epic][ux] State-of-art user experience for openQA

coordination #154771: [epic] Improved test developer user experience

Expose basetest and testapi variables as functions / methods

Added by tinita 14 days ago. Updated 9 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2025-05-19
Due date:
% Done:

0%

Estimated time:

Description

Motivation

When running tests in python, one cannot access testapi variables like $realname, $user or $password.

Also one cannot call things like self["post_fail_hook_running"] because these objects are unsubscriptable.

This is also important for other language bindings we might get in the future.

Also it's cleaner in general to use functions / methods instead of exported variables.

  • AC1: All relevant variables from testapi are accessible via exported functions
  • AC2: All relevant basetest object members are accessible via methods

Related issues 1 (1 open0 closed)

Related to openQA Project (public) - action #162998: Further language bindings for os-autoinst, like python, e.g. Lua or JavaScript or anything that is among the top 30 languages and easily integratable size:MFeedbackdheidler2024-06-28

Actions
Actions #1

Updated by tinita 14 days ago

  • Related to action #162998: Further language bindings for os-autoinst, like python, e.g. Lua or JavaScript or anything that is among the top 30 languages and easily integratable size:M added
Actions #2

Updated by tinita 14 days ago

  • Parent task set to #154771
Actions #3

Updated by okurz 14 days ago

  • Target version set to future
Actions #4

Updated by tinita 9 days ago

https://github.com/os-autoinst/os-autoinst/pull/2712 Add wrappers for testapi variables

Actions #5

Updated by tinita 9 days ago

  • Description updated (diff)
Actions #6

Updated by tinita 9 days ago

  • Description updated (diff)
Actions

Also available in: Atom PDF