Spring Boot – Black Box Testing

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • spring-boot-black-box-testing-example

    An example of black box testing implementation in Spring Boot application

  • You can find the code examples in this repository.

  • SonarQube

    Continuous Inspection

  • The generated classes should be put into .gitignore. Otherwise, if you have Checkstyle, PMD, or SonarQube in your project, then generated classes can violate some rules. Besides, if you don't put them into .gitignore, then each pull request might become huge due to the fact that even a slightest fix can lead to lots of changes in the generated classes.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • openapi-generator

    OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)

  • In this article, I'm showing you how to configure the corresponding Gradle plugin. Anyway, there is Maven plugin as well and the approach won't be different much.

  • Spring Data JPA

    Simplifies the development of creating a JPA-based data access layer.

  • I'm using Spring Data JPA as a persistence framework. Therefore, those classes are Hibernate entities.

  • gradle-testsets-plugin

    A plugin for the Gradle build system that allows specifying test sets (like integration or acceptance tests).

  • Firstly, let's add the gradle-testsets plugin and define a separate test source that'll contain the OpenAPITest file. It's the one that generates the open-api.json specification. Take a look at the code example below.

  • springdoc-openapi

    Library for OpenAPI 3 with spring-boot

  • The SpringDoc library comes with lots of annotations to tune your REST API specification precisely. Anyway, that's out of context of this article.

  • PMD

    An extensible multilanguage static code analyzer.

  • The generated classes should be put into .gitignore. Otherwise, if you have Checkstyle, PMD, or SonarQube in your project, then generated classes can violate some rules. Besides, if you don't put them into .gitignore, then each pull request might become huge due to the fact that even a slightest fix can lead to lots of changes in the generated classes.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • Hibernate

    Hibernate's core Object/Relational Mapping functionality

  • I'm using Spring Data JPA as a persistence framework. Therefore, those classes are Hibernate entities.

  • Gradle

    Adaptable, fast automation for all

  • Spring Boot comes with a brilliant OpenAPI support. All you have to do is to add two dependencies. Look at the Gradle configuration below.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Seriously who cares about the warnings

    2 projects | /r/ProgrammerHumor | 18 Apr 2022
  • Code smell plugin

    2 projects | /r/javahelp | 15 Feb 2022
  • Why You Need Static Code Analysis

    2 projects | dev.to | 1 Oct 2021
  • Design an Effective Build Stage for Continuous Integration

    12 projects | dev.to | 8 Apr 2021
  • Review of Java Static Analysis Tools

    2 projects | dev.to | 9 Mar 2021