Agile and Test Driven Development (TDD) with Swagger, Docker, Github, Postman, Newman and Jenkins for a Loopback, Node.js and CouchDB App
Objective: in this tutorial I will create a copy of the FDIC Bank Data Developer Portal using a Test Driven Development (TDD) architecture for an agile development team.
My version of the FDIC Bank Data Developer Portal is a Loopback based Node.js application generated from a Swagger, or Open API Specification, file with 2 endpoints to access FDIC Banks data.
When I submit new code to Github, the code is automatically tested using Postman and Newman using a Scripted Pipeline with Groovy in Jenkins to set up the Continuous Integration (CI).
- Requirements
- Create an API Application with Swagger
- Dockerize the Application
- Create Postman Tests
- Automate Testing with Newman
- Add Source Code to Github Repository
- Setup a Local Jenkins Server
- Add a Jenkins Pipeline to Automate Testing
1. Requirements
- Docker
- Node.js
- Loopback 3
- Postman