asyncapi/java-spring-template

Add snapshot tests for generated files

Closed this issue · 4 comments

Reason/Context

The template has accumulated a sufficient number of functions that can be affected by further improvements and changes in it.
Integration tests that check the generated result allows to track changes in the generated files and functionality.

Description

Basic integration tests should cover generation of files (Config, MessageHandler, MessagePublisher, DTO) for existed test asyncapi files kafka and mqtt.
Features that also could be tested:

  • all template parameters mentioned in README
  • work with recursive model #150
  • correct types for mandatory/optional fields #133
  • correct types for date-time #95

Good example of snapshot testing could be found here

🎉 This issue has been resolved in version 0.25.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

This issue has been automatically marked as stale because it has not had recent activity 😴

It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.

There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.

Thank you for your patience ❤️

This issue has been automatically marked as stale because it has not had recent activity 😴

It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.

There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.

Thank you for your patience ❤️

closing, there are snapshot test in place, if we need more, and more specific ones, better have new issue with details than this issue that is getting stale