Software Testing and Development Blog Posts

Subscribe to the full blog feed using RSS

All Posts | Categories | Archive

Architecting Testable Webservice Spark

Architecting a Testable Web Service in Spark Framework

7 minute read - REST API

Published

TLDR; Architecting a Web Service using Spark Framework to support more Unit testing and allow the inclusion of HTTP @Test methods in the build without deploying the application. Create API as a POJO. Start Spark in @BeforeClass, stop it in @AfterClass, make simple HTTP calls.