WTAT 1

Website of Prof. Dr. Barne Kleinen, Professor for Media Informatics (Bachelor/Master) at HTW Berlin

Sprint 04 - Deployment

     <prev next>

As this Sprint is about preparing your app for deployment and deploying it on Heroku, you will not implement any new functionality in this sprint.

It’s arguable if this weeks work should be called a sprint, as you will not implement any new features that are of interest to users or customers.

Nonetheless, automatic testing and continuously deploying your app such that the users and customers will be able to see and test the deliverables is a crucial part of agile development.

For Everything except testing you can pretty much follow the book.

I’ve documented my steps in the readme of the example app:

Test: use Jest!

The section about testing does not quite hold up with the quality of the rest of the book. Furthermore, Mocha seems to be a bit outdated and Jest is simpler and more powerful to use, and will be more apt to test the React part of our applications.

I’ve documented the steps I’ve taken for a proper test setup in the example app, based on a migration from the mocha tests as described in the book.

Take the shortcut and create at least 1-2 smoke tests for your application, maybe one unit test and one snapshot test.

Feel free to copy my setup out of the example app in the folder test

Create and Rename your Heroku app

Your app should be named according to your group name; please use this form: wtat1-group-x .

heroku rename wtat1-module-handbook

Set up a CI/CD Pipeline

This can be done via the web interfaces on github and heroku:

Your Report should contain

  • your project name
  • the name and url of your (renamed) Heroku deployment
  • Which stories did you test?
  • as always, tag your repo: Sprint_04