Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure resource deployments for tests using annotations #823

Open
jonathanlukas opened this issue Jul 7, 2023 · 3 comments
Open

Configure resource deployments for tests using annotations #823

jonathanlukas opened this issue Jul 7, 2023 · 3 comments
Labels
area/ux Relates to user experience kind/feature Categorizes an issue or PR as a feature, i.e. new behavior

Comments

@jonathanlukas
Copy link
Contributor

Description

In the Camunda 7 test suite, it was possible to create deployments using an annotation. This was quite handy.

For tests, I would like to see an annotation @Deploymentor @TestDeployment (as @Deployment is also used by spring-boot-starter-camunda) that deploys the selected resources on deployment, allows for injection of the deploymentResponse to the test method and (in the future) removes the deployed resources again after the test has been carried out.

@jonathanlukas jonathanlukas added the kind/feature Categorizes an issue or PR as a feature, i.e. new behavior label Jul 7, 2023
@koevskinikola koevskinikola added the area/ux Relates to user experience label Jul 12, 2023
@koevskinikola
Copy link
Member

ZPA triage:

  • Great feature to improve UX in our testing library.
  • @jonathanlukas have you encountered any customers/users that have expressed interest in this feature? I'm interested for setting the priority of this issue. As we are a bit low on capacity, it would be useful if you can raise a PR for it as well.
  • @aleksander-dytko can you have a look at the priority of this issue?

@jonathanlukas
Copy link
Contributor Author

This issue is feature parity in general. Also, I got the motivation by a customer who will evaluate Camunda 8 in Q3. They are using unit testing extensive in Camunda 7 (Best thing they could do) and missed the annotation ;)

@saig0
Copy link
Member

saig0 commented May 31, 2024

Note

Heads up! We are building a new Java testing library for Camunda 8.6. The new library will replace Zeebe Process Test.
Read more about upcoming changes here and stay tuned for updates. 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ux Relates to user experience kind/feature Categorizes an issue or PR as a feature, i.e. new behavior
Projects
None yet
Development

No branches or pull requests

3 participants