← All projects/4 - Connecting to the World/Javascript - Testing & Error prevention

Guide: Javascript - Testing & Error prevention

Description

Test-driven development has been around for a while but it gained traction in the last years, becoming the norm for many software teams. In this Guide you will try out this methodology. Also in this Guide you will make use of Typescript, which allows you to, for example, write strongly-typed Javascript and avoid errors in run time.

Knowledge

  • Understand what is Test-drive Development (TDD)

Skills

  • Be able to create test units for Javascript code
  • Be able to use Typescript

Topics

  • Testing / User stories / TDD
    • Jest
  • Typescript

Action Points

  • Read-up on Test-driven Development as a whole
  • Learn about Jest or similar and create a few demos
  • Learn about Typescript and use it in the Deliverable

Deliverable: Interactive web application

  • Submit:
    • Glitch Project URL or Github Repository + Github Pages URLs
      • Add comments for each relevant code block
    • Project description and details in the README.md file
  • Minimum requirements:
    • Create a web application that relies on user input
    • Written in Typescript
    • Create tests with Jest (or similar tool) to make sure all the interactive points will work
  • Theme ideas:
    • Chatbot
    • Tool to create a poster

Resources