Skip to main content

Writing a Modern Testing Library in JavaScript (5 ECTS)

Code: TX00DU59-3001

General information


Enrollment
02.05.2019 - 01.09.2019
Registration for the implementation has ended.
Timing
02.09.2019 - 15.12.2019
Implementation has ended.
Number of ECTS credits allocated
5 ECTS
Mode of delivery
On-campus
Campus
Leiritie 1
Teaching languages
English
Seats
0 - 30
Degree programmes
Degree Programme in Information Technology
Teachers
Michael Solomon
Course
TX00DU59
No reservations found for implementation TX00DU59-3001!

Learning outcomes

Core content level learning outcomes:

Knowledge and understanding:
The students will know how to edit and author different types of tests in codebases of varying levels of maturity and brokenness. They will also learn how to contribute to a multi-author open source project for testing.

Skills:
The students will be able to write state-of-the-art JavaScript code, effectively review code, and write high-quality tests for their code.

Content

Motivation:
As JavaScript programs become more connected to external services such as databases and APIs, testing their core functionality becomes more dependant on reliable mocks of these external services. Most testing libraries provide high-quality frameworks for testing one’s own code isolated from dependencies, but they are ill-equipped to deal with a dependency-first economy. The workers of tomorrow will need to be able to edit and author high-quality tools to test the myriad of dependencies with which they will interact as programmers.

Core content level:
• Introduction to testing frameworks in JavaScript
• Introduction to mocking frameworks in JavaScript
• Introduction to JavaScript project management, from git to continuous integration
• Co-creation of a next-generation testing library with unmock.io

Additional content:
Understanding of the business dynamics behind testing.

Prerequisites

Strong background in JavaScript, with a preference for TypeScript knowledge as well. Intermediate experience building JavaScript applications for the web or NodeJS. Comfort with testing frameworks (jest, mocha, etc) and basic forms of testing such as unit tests, integration tests, and end-to-end tests.

Further information for students

special course

Assessment methods and criteria

The students will be evaluated on the quality of their contributions (pull requests, reviews) to the main git repos for the course.

Evaluation scale

0-5

Go back to top of page