What tests will run if you execute the 'pytest' command from the project root? project/ ├── conftest.py ├── tests/ │ ├── check_api.py │ │ └── def test_get_users(): pass # (A) │ ├── test_ui_login.py │ │ ├── def test_button(): pass # (B) │ │ └── def check_label(): pass # (C) │ ├── web_test.py │ │ ├── def test_login_flow(): pass # (D) │ │ └── def logout_test(): pass # (E) │ └── integration/ │ └── test_db.py │ ├── class TestDatabase: │ │ └── def test_connect(): pass # (F) │ └── class DB_Helper: │ └── def test_ping(): pass # (G) ├── scripts/ │ └── test_cleaner.py │ └── def test_wipe_cache(): pass # (H) └── my_test_file.py └── def test_is_valid(): pass # (I)
QA / QA Automation
Have you had major business, product, or technical tasks not directly related to testing?
What would you like to avoid in your work?
What is WebSocket and what is it used for?
What will be the result of executing this code? a = [1, 2, 3] b = [1, 2, 3] print(a == b) print(a is b)
In a fixture, a user is created each time, leading to accumulation of test users. What can be added?
Do you use mocks in automated tests? What are the advantages and disadvantages of their use?
Were they regular AI chats or some agents?
What is your experience with CI: have you set up CI pipelines?
Name the main principles of OOP and how they are implemented in Python?
What are the differences between list, set, and tuple in Python?
Imagine you are in a Linux terminal. You create a file and check its current permissions. How will the permission string change in the output of ls -l after executing chmod 777? What is now allowed to do with this file and to whom? CODE EXAMPLE $ touch deployment.sh $ ls -l deployment.sh -rw-r--r-- 1 user group 0 May 27 14:20 deployment.sh $ chmod 777 deployment.sh $ ls -l deployment.sh
How do GET and POST requests differ?
In your opinion, what distinguishes a middle QA engineer from a senior QA engineer?
Do you use AI tools in your work and for what purpose?
If a = 128 and b = 128, what will be the result of the comparisons a == b and a is b?
What does this code output and why? x = 5 def show_x(): print(x) x = 10 return x show_x() print(x)
Which request is idempotent?
Have you worked with the PyTest hooks themselves?
a = 4 b = [4] result = (a, b) a = 5 b.append(5) Question: what is the value of result after executing all lines and why?