How many automated tests did you have for a component you wrote?
Asked at
AI answer
It’s best to give the actual number and explain what it includes: “There were about [N] automated tests for the [component name] component: [for example, unit — N1, API — N2]. They covered the main scenarios and error checks; they ran [where and how often].” If you don’t remember the exact number, don’t make one up: give an approximate order of magnitude and clarify that the figure is approximate.
Also asked at Бюро 1440
- What is GIL in CPython, how is it implemented, and why is it needed?
- What is an iterator and a generator, how do they differ?
- What are asynchronous, multithreading, and multiprocessing? How do they differ and when should each be used?
- Compare multithreading, multiprocessing, and asynchronous in Python: differences, advantages, and disadvantages.
- What are the key differences between synchronous and asynchronous programming in Python? Please answer this question orally.
Similar questions
- What did you use to write tests? Did you have test coverage, and what kinds of tests did you write?
- Did you have some kind of test coverage metric? What was it called?
- What kinds of automated tests have you written (unit, integration, e2e)? How did you isolate integration tests from the database when running them in parallel?
- Tell me about testing: did you write unit, integration, and end-to-end tests, and what was the test coverage percentage?
- Have you worked with mocks (test doubles)?