Název předmětu

  • Stránky předmětu:
  • Přednášející:
  • Cvičící:

Cvičení

Zkouška

Zkouška probíhá online v Moodle. Obsahuje 15 uzavřených otázek (single a multiple choice) po 2 bodech a 4 otevřené otázky po 5 bodech. Pro splnění zkoušky je potřeba získat alespoň 30 bodů z 50. Na zkoušku je 55 minut, dalších 5 minut pak na odeslání testu k vyhodnocení (během toho už nelze upravovat odpovědi). Dalších 10 bodů lze získat u nepovinné ústní.

Otevřené otázky z minulých let (s odpověďmi):

What are usual goals of Model-based Testing?

  • To have test coverage under control (we know how intensely which part of a system is covered by the tests)
  • To reduce duplications in the tests
  • To be able to generate the tests faster and in more accurate way

What is Prime path?

  • (1) Is simple path and (2) does not appear as a proper sub path of any other simple path

What is Equivalence class?

  • According to the design specification (by which we are testing), the system does the same thing for all values of the equivalence class

Which claim is correct?

  • TDL=1 equals All Edges Coverage

What is Test coverage level?

  • a criterion determining intensity of created test cases, usually based on system structural elements and expressing number of combinations exercised by the test
  • The degree, expressed as a percentage, to which a specified coverage item has been exercised by a test suite.

Test Depth Level (TDL) 2 is satisfied when

  • For each decision point (node), all combinations of possible input and output actions are exercised

What are the benefits of end-to-end testing?

  • Ensures the correctness of the application
  • Prevents regressions
  • Verifies the system flow

Multiple Condition Coverage (MCC)

  • Is a standard way of testing for middle-critical and critical systems NEBO Formally describes situation, when we test all possible combinations of data in particular system input
  • For non-trivial system inputs usually leads to “combinatorial explosion” effect

Which are principal types of Equivalence classes (ECs)?

  • Invalid EC from technical view, (2) Invalid EC from business view, (3) Valid EC

Model-based testing is usually considered suitable for

  • Large or complex systems
  • Mission-critical systems

What is the Boundary value?

  • An input value or output value which is on the edge of an equivalence class or at the smallest incremental distance on either side of an edge.

Which parts of a test case are essential to define the test case well?

  • Preconditions, test step, expected result(s)

Which claim is correct?

  • Prime Paths Coverage satisfies All Edges Coverage as well

Explain the principle of Paths-based Testing

  • Determine an optimal sequence of steps (paths) to be done in a system under test (SUT)

What is static testing?

  • Testing of a component or system at specification or implementation level without execution of that software

What is principle of 2-way uniform strength combinatorial interaction testing, given the system input composing of N parameters, each of these parameters can be set to several values?

  • Testing data contain each possible pair of parameter values

What the Boehm’s first law says?

  • Errors are most frequent during the requirements and design activities and are the more expensive the later they are removed

What test coverage levels are used in Paths-based Testing?

  • Test Depth Level (TDL)
  • All Nodes Coverage

Number of data combinations generated by Multiple Condition Coverage (MCC) technique for a binary logic expression with n input variables is

  • 2^n

Code smells are

  • weaknesses

What is principle of Model-based Testing?

  • Particular aspect of system under test is captured by a model, the model is then used to generate the test cases

What test coverage levels are used in Paths-based Testing?

  • Edge-pair Coverage
  • Prime Paths Coverage
  • All Paths Coverage

Uzavřené otázky z minulých let:

  • Describe the method of test driven development.
  • What are SOLID principles? Name them all, then choose one and describe it. Also describe its benefits.
  • What is a test smell? Name some test smells.
  • Developers have a reputation for being somewhat careless when answering the question “are you dome with this feature?” In fairness, this is an ambiguous question – it can mean “done programming” and this is generally what a developer will have in mind when answearing. However, the meaning of interest is usually “are you done programming, creating test data, actually testing, ensuring it’s deployable, documenting, …”. But we can’t keep polishing out product ad infinitum. We must stop at some point and release the product. We must define the meaning of done. How is “done” defined?
  • Describe the difference between horizontal and vertical E2E testing?
  • Briefly describe what is static code analysis and how can you benefit from using it.
  • Describe a principle of W-model
  • Describe the screenplay pattern, what are its advantages and disadvantages.
  • Describe the POM model, its advantages and disadvantages.
  • What is code smell? How can you identify one? Are code smells defects? Name some code smells.
  • The quality does not come for free; it has its cost. What does the cost of quality mean?
  • What does it mean when test is flaky or unstable? What may the root cause?
  • Testing pyramid is a visual metaphor telling you to think about different layers of testing (i.e. test levels). It also tells you how much testing to do on each layer. Drag and drop the types of tests onto the testing pyramid image to complete the pyramid.
courses/b4m35zks.txt · Poslední úprava: 2022/01/08 12:33 autor: zuz22
Nahoru
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0