Skip to content

Code and Slides for the "Integration Testing with sbt, Scalatest and Docker" talk

Notifications You must be signed in to change notification settings

manub/it-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Integration Testing using sbt, Scalatest and Docker

This is the code accompanying my talk at Scala eXchange 2017, and it's a simple HTTP service that can save a user and retrieve the list of all saved users.

Tests can be run by using sbt it:test

You can run the application using sbt run (make sure you start Postgres accordingly by using ./start-postgres.sh)

  • To get all the users you can invoke GET localhost:8080/users.
  • To save a user, POST localhost:8080/users with a JSON payload such as:
{
  "username": "manub",
  "firstName": "Emanuele",
  "lastName": "Blanco"
}

About

Code and Slides for the "Integration Testing with sbt, Scalatest and Docker" talk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published