Comments (6)
I think that it will be possible to add without any dependency in plugin side. Just add generate asserts with hamcrestAssertions entry and generate the code.
And let the user choose, if it choose that it is expected that he will have the dependency in it's project.
from intellij-generateallsetmethod.
I suggest adding an ability to choose your preferred testing framework in settings in case if you have more than one on your classpath. What do you think?
from intellij-generateallsetmethod.
assertThat is from assertJ, you may add depedency from https://joel-costigliola.github.io/assertj/
from intellij-generateallsetmethod.
Thank you for the information :)
Ah, hamcrest like assertions
https://junit.org/junit5/docs/current/user-guide/#writing-tests-assertions-third-party
I'll look if my company allows to add this into the projects.
It just looked for me like an bug in the first place, because JUnit 5 deprecated and removed assertThat.
But it's another dependency I need to add and maintain.
Happy dependency hell. 😵
from intellij-generateallsetmethod.
Any news about this evolve :) ?
from intellij-generateallsetmethod.
how about support Hamcrest
from intellij-generateallsetmethod.
Related Issues (20)
- 请问如何自定义模板 HOT 1
- 建议:generate converter when cursor in method 增强
- 打开非 Java 源码文件时报错 java.lang.ClassCastException
- 光标放在方法内,快捷键不显示生成两个对象转换的 getter 和 setter HOT 2
- I don't know how to use 'Generate setter getter converter' HOT 2
- 代码提交idea报的 HOT 4
- support generate by template, user can configure their own template to support more pattern
- Generate all setters with random value HOT 1
- 建议新增功能: 将方法入参设置进java类中 HOT 2
- An error has occurred in the IntelliJ IDEA 2022.2 (Ultimate Edition) HOT 1
- Generate accessors chain call HOT 2
- IntelliJ IDEA 2022.3 error HOT 1
- 2022.3插件不生效 HOT 2
- generate missing setter or getter.
- 希望添加一个allget allset的对象方法来生成
- BUG: 转换实体遇到转换字段出错 HOT 1
- mac 没有提示生成setter HOT 2
- compare with existing set method
- 添加map字段效果的代码生成
- 希望增加构造方法中的自动生成
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from intellij-generateallsetmethod.