Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IT1901
course-material
Commits
c6e294d3
Commit
c6e294d3
authored
Nov 08, 2021
by
George Adrian Stoica
Browse files
docs: update slides for lecture 18
parent
9b0acf55
Pipeline
#145384
passed with stages
in 1 minute and 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lectures/revealjs/18-lecture-integration-testing.adoc
View file @
c6e294d3
...
...
@@ -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-uni
ts.png[canvas, size=contain]
image::../images/lecture18/
unit-tes
ts.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]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment