diff --git a/lectures/revealjs/10-integration.adoc b/lectures/revealjs/10-integration.adoc new file mode 100644 index 0000000000000000000000000000000000000000..1e804f13bb47ced39c0a33b0f8ff97b21d448cbc --- /dev/null +++ b/lectures/revealjs/10-integration.adoc @@ -0,0 +1,128 @@ += Integration Testing +:customcss: slides.css +:icons: font +:includedir: includes/ +:LECTURE_TOPIC: Integration Testing +:LECTURE_NO: 10th Lecture + +include::{includedir}header.adoc[] + +[.smaller-80][.center-paragraph] +IT1901 Fall 2024 - {LECTURE_NO} + + +[background-color = "#124990"] +[color = "#fff6d5"] +== Overview +[.smaller-80] +- Administrative issues +- Integration Testing +- Preparing Software Releases +- Summary + + +[background-color = "#124990"] +[color = "#fff6d5"] +== Administrative issues + + +== Approaching Deadlines + +- Torsdag, 14. november / 23:59 +** 3rd group deliverable + + +== Remaining Lectures + +- w44 30th Oct - Guest lecture - current development practices in industry +- w45 7th Nov - Questions and Answers lecture - Present individual report assignment + + + +[background-color = "#124990"] +[color = "#fff6d5"] +== Integration Testing + + - check if combinations of software units (components) from our system work as expected when put together + - complementary to other types of testing + + +== ! + +image::../images/lecture10/testing-pyramid.png[canvas, size=contain] + + +== ! + +image::../images/lecture10/itest01.png[canvas, size=contain] + +== ! + +image::../images/lecture10/itest02.png[canvas, size=contain] + +== ! + +image::../images/lecture10/itest03.png[canvas, size=contain] + +== ! + +image::../images/lecture10/itest04.png[canvas, size=contain] + +== Approaches + +- Top down +- Bottom up +- Hybrid +- Big bang + +== Test doubles + +[.smaller-80] +- **Dummy objects** - not used beyond fillers of param lists +- **Fake objects** - have some working implementation suitable just for testing +- **Stubs** - return pre-prepared answers to calls made during the test (limited to test cases) +- **Drivers** - some implementation to be able to call the units under test +- **Mocks** - more advanced then stubs, they do have mechanisms to check if calls are made by spec, can throw exceptions if expectations are not met + + +[background-color = "#124990"] +[color = "#fff6d5"] +== Preparing Software Releases + + +== Software binaries + +- trade-offs +- dependencies can be included +- can run offline + + +== jlink + +- javafx plugin goal +- creates a runtime for your app + + + +== jpackage + +- maven plugin +- creates a distributable package +- platform dependent + +[background-color = "#124990"] +[color = "#fff6d5"] +== demo + + +[background-color = "#124990"] +[color = "#fff6d5"] +== Q & A + + +[background-color = "#124990"] +[color = "#fff6d5"] +== Summary + + +include::{includedir}footer.adoc[] \ No newline at end of file