Skip to content
Snippets Groups Projects
Commit c6e294d3 authored by George Adrian Stoica's avatar George Adrian Stoica
Browse files

docs: update slides for lecture 18

parent 9b0acf55
No related branches found
No related tags found
No related merge requests found
Pipeline #145384 passed
......@@ -56,7 +56,7 @@ IT1901 Fall 2021 - {LECTURE_NO}
- tests the complete system as it would be for actual use
- complete system should comply with the requirements in the clients' environment
== Testing pyramid
== !
image::../images/lecture18/test-pyramid.png[canvas, size=contain]
......@@ -65,15 +65,15 @@ image::../images/lecture18/test-pyramid.png[canvas, size=contain]
- as we go from the bottom towards the top the tests get more complex and resource intensive
- the pyramid is a useful reminder that we should have many unit tests, several integration tests and very few system and deployment tests
== System-Tiers-Layers-Modules-Components-Units
== !
image::../images/lecture18/system-units.png[canvas, size=contain]
== Unit tests
== !
image::../images/lecture18/system-units.png[canvas, size=contain]
image::../images/lecture18/unit-tests.png[canvas, size=contain]
== Integration tests
== !
image::../images/lecture18/integration-tests.png[canvas, size=contain]
......@@ -92,12 +92,12 @@ image::../images/lecture18/integration-tests.png[canvas, size=contain]
- a simulated component is usually referred to as a mock, stub or fake
- when the simulated component is using / calling the tested component it is called a driver
== Simulating parts
== !
image::../images/lecture18/mocked-server.png[canvas, size=contain]
== Simulating parts (2)
== !
image::../images/lecture18/mocked-client.png[canvas, size=contain]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment