diff --git a/Examples/module-12-testing-examples.zip b/Examples/module-12-testing-examples.zip new file mode 100644 index 0000000..790ba87 Binary files /dev/null and b/Examples/module-12-testing-examples.zip differ diff --git a/Slides/Module 12 Testing Larger Things.pdf b/Slides/Module 12 Testing Larger Things.pdf new file mode 100644 index 0000000..7e7940f Binary files /dev/null and b/Slides/Module 12 Testing Larger Things.pdf differ diff --git a/Slides/Module 12 Testing Larger Things.pptx b/Slides/Module 12 Testing Larger Things.pptx new file mode 100644 index 0000000..940f1b0 Binary files /dev/null and b/Slides/Module 12 Testing Larger Things.pptx differ diff --git a/_data/modules.yml b/_data/modules.yml index 89c73e3..778e024 100644 --- a/_data/modules.yml +++ b/_data/modules.yml @@ -36,7 +36,7 @@ page: /modules/11-distributed-systems-2 6b: name: Tests with Larger Scope - page: + page: /modules/12-larger-tests 7a: name: Continuous Development page: diff --git a/lectures/l12.md b/lectures/l12.md new file mode 100644 index 0000000..dd1c9db --- /dev/null +++ b/lectures/l12.md @@ -0,0 +1,34 @@ +--- +layout: module +title: "12 - Tests With Larger Scope" +permalink: /modules/12-larger-tests +parent: Modules +nav_order: 12 +lessons: + - title: "Testing Larger Things" + ppt: "Module 12 Testing Larger Things.pptx" + pdf: "Module 12 Testing Larger Things.pdf" +--- +### Learning Objectives: +In this module, you will learn to: +* Design test cases for code using fakes, mocks and spies +* Explain why you might need a test double in your testing +* Explain why you might need tests that are larger than unit tests +* Explain how large, deployed systems lead to additional testing challenges + +{% include lesson.html %} + +### Important Dates: +* Individual Project 2 **Due Wednesday, Feb 19 by 12pm (noon)**{: .label .label-red } + + +### Tutorials +* [Tutorial: Cypress]({{site.baseurl}}{% link tutorials/week5-cypress.md %}) + + +### Resources +* [Software Engineering at Google: “Larger Testing”](https://learning.oreilly.com/library/view/software-engineering-at/9781492082781/ch14.html) +* [Code example from lecture]({{ site.baseurl }}{% link Examples/module-12-testing-examples.zip %}) +* [jest-mock-extended](https://www.npmjs.com/package/jest-mock-extended) +* [Aye Spy, visual regression testing](https://github.com/newsuk/AyeSpy?tab=readme-ov-file) +* [End to End Testing with Cypress](https://docs.cypress.io/guides/end-to-end-testing/writing-your-first-end-to-end-test) \ No newline at end of file