diff --git a/contributions/demo/week2-testing-and-CI/bonnici-nalenz/README.md b/contributions/demo/week2-testing-and-CI/bonnici-nalenz/README.md new file mode 100644 index 0000000000..280bd93a6d --- /dev/null +++ b/contributions/demo/week2-testing-and-CI/bonnici-nalenz/README.md @@ -0,0 +1,24 @@ +# Assignment Proposal + +## Title + +Testing frameworks for JavaScript in frontend and backend + +## Names and KTH ID +- Elias Bonnici (bonnici@kth.se) +- Julian Nalenz (nalenz@kth.se) + +## Deadline + +Task 1 + +## Category + +Demo + +## Description + +With the NodeJS ecosystem, JavaScript can be used in both frontend and backend. As with any software stack, unit and integration testing are an essential part, yet selecting the right tool for each individual use case can be a challenge, as NodeJS-based environments can be highly diverse. + +In this demonstration, we show how JavaScript-/NodeJS-based frontends and backends can be tested in real life and how to set up and run such tests with the respective frameworks. Specifically, we will demonstrate the combined use of Jest and Supertest for the backend and its HTTP routes and React Testing Library for the frontend. +