Previous Lecture Lecture 11 Next Lecture

Lecture 11, Mon 01/31

Mon Lecture: First in-person class for CMPSC 156 in W22 in SH1431

Table Assignment

Section Team 1 Team 2 Team 3 Team 4
5pm 1 2 3 4
6pm 5 6 7 8
7pm 9 10 11 13

Topics

Team02

https://ucsb-cs156.github.io/w22/lab/team02/

Kanban boards

Team Board
w22-5pm-1 https://github.com/ucsb-cs156-w22/team02-w22-5pm-1/projects/1
w22-5pm-2 https://github.com/ucsb-cs156-w22/team02-w22-5pm-2/projects/1
w22-5pm-3 https://github.com/ucsb-cs156-w22/team02-w22-5pm-3/projects/2
w22-5pm-4 https://github.com/ucsb-cs156-w22/team02-w22-5pm-4/projects/6
w22-6pm-1 https://github.com/ucsb-cs156-w22/team02-w22-6pm-1/projects/1
w22-6pm-2 https://github.com/ucsb-cs156-w22/team02-w22-6pm-2/projects/1
w22-6pm-3 https://github.com/ucsb-cs156-w22/team02-w22-6pm-3/projects/1
w22-6pm-4 https://github.com/ucsb-cs156-w22/team02-w22-6pm-4/projects/1
w22-7pm-1 https://github.com/ucsb-cs156-w22/team02-w22-7pm-1/projects/1
w22-7pm-2 https://github.com/ucsb-cs156-w22/team02-w22-7pm-2/projects/1
w22-7pm-3 https://github.com/ucsb-cs156-w22/team02-w22-7pm-3/projects/1
w22-7pm-4 https://github.com/ucsb-cs156-w22/team02-w22-7pm-4/projects/1

How to get the logs for a Heroku app

Through the web interface:

Heroku Dashboard Logs Menu Item

At command line (with Heroku CLI installed):

The -a application-name is the application name, e.g. for demo-spring-react-example-v2qa.herokuapp.com, use this:

heroku logs -a demo-spring-react-example-v2qa --tail

The --tail allows you to see the log go by in real time as it is produced.

How to run just one test file using Maven

For example, to run only the tests in the file ApiControllerTests.java

mvn test -Dtest=ApiControllerTests