Nice. I use this regularly along with Jackson library for serialisation and de serialisation. Deserialisation is bit of pain with Lombok data classes. But they have a beta annotation for it now. Overall a good library to reduce boiler plate code. Nice one Naveen. 🎉
Thank you for this awesome piece. Few doubts. 1) Will there be any issue once we compile & execute Lombok enabled code in servers without having Lombok plugin there? 2) Uses other than getter & setters. Thanks.
Thanks Naveen , this is really useful, could you please provide some details about @builder and @builder.default with pojo class for data build in further sessiona
Hi Naveen, thanks for such informative videos. Could you please create videos on Code review tools such as SonarLint or SonarQube etc or code review practices which are becoming necessary now a days in automation projects.
Which validation? Getter and setter are not used for business logic and validation. Validation should be done by test client not by get and set methods.
@@naveenautomationlabs I have read and seen basic validation being performed in the setter method. That's one of the purpose of encapsulation. Also, Take a look at this article dzone.com/articles/java-getter-and-setter-basics-common-mistakes-and
Its not a good practice. If you see for test automation point of view, or unit test purpose. Assertion/validations should be part of test client. And buss validations should be written in a function, not by getter and setter. But ya you can validate ur data is valid or not like it's within range or shouldn't be null and then set the values. Which is not covered by Lombok. In this case u have to create ur own custom getter and setter.
hi sir i am soumya and i completed Msc in computer science(2014). i started career in teaching for primary student ..... but now I am planning shift to automation testing i.e java with selenium.... plz can u guide
I am facing this issue while trying out same thing Lombok annotation handler class lombok.eclipse.handlers.HandleData failed - See error log. The annotation @Data is disallowed for this location
Thank you, You are the best!!! Can we use this in POM when we are designing our framework.
Thank you Naveen, Lombok is just like a magic to cleanup the boilerplate code
Thanks a lot Sir, This was really required when we work with POJO classes of RestAssured. :) .
Thanks Naveen for taking up this cool stuff, Although I know this already, but after your explanation it is more clear now 👍😊
I'm having this lambok implemented in my project and now I got to know purpose of it. Thanks buddy!
Thanks Naveen , I used it one of the project as a beginner .now most of the concepts got cleared
This was amazing..12mins of complete knowledge 👌
Awesome
Thank you Naveen, but could you please tell me how can this be utilized while working on creating a framework?
Nice. I use this regularly along with Jackson library for serialisation and de serialisation. Deserialisation is bit of pain with Lombok data classes. But they have a beta annotation for it now. Overall a good library to reduce boiler plate code. Nice one Naveen. 🎉
This is really cool. Thanks Naveen!
Thank you for this awesome piece.
Few doubts.
1) Will there be any issue once we compile & execute Lombok enabled code in servers without having Lombok plugin there?
2) Uses other than getter & setters.
Thanks.
Clean Explanation, I will definitely use this. Thanks Naveen :)
How to put breakpoint for the setters?
We will have to put breakpoint on the variable name and in that case even the getters will trigger breakpoints.
Thank you so much sir for your effort, could you please share a github link for this session
Thanks alot Naveen for creating this video,could you pls make one video how we can implement the same in our automation project
How this developer guys are doing magic ??what is their thought process..we really need to learn this before learning programming or coding.
Thank you so much Naveen sir
thank you sir...well explained..
Brilliant 👍
Thanks Naveen , this is really useful, could you please provide some details about @builder and @builder.default with pojo class for data build in further sessiona
In the next session
Nice bro, very useful. Thanks 👍👍👍
Great work naveen
Hi Naveen, thanks for such informative videos. Could you please create videos on Code review tools such as SonarLint or SonarQube etc or code review practices which are becoming necessary now a days in automation projects.
Check this video: ruclips.net/video/u5HMAu7Ocuk/видео.html
@@naveenautomationlabs Wah aapki teaching se muje java se pyar ho gaya he.
Can we use in serialization and deserialization
Thanks but while run Java command shows could not find or not load main class error showing. Can you please help.
Thank you
Thanks a lot Naveen
Thanks! 👍
What if i have to put some validation logic in constructor or setters method?
Is there any workaround for that?
Yes even I have the same question..
In normal getter and setter method we will have validations.. but this lambok is simply setting and getting.. 🙄🙄
Which validation? Getter and setter are not used for business logic and validation. Validation should be done by test client not by get and set methods.
@@naveenautomationlabs
I have read and seen basic validation being performed in the setter method. That's one of the purpose of encapsulation.
Also,
Take a look at this article
dzone.com/articles/java-getter-and-setter-basics-common-mistakes-and
Its not a good practice. If you see for test automation point of view, or unit test purpose. Assertion/validations should be part of test client. And buss validations should be written in a function, not by getter and setter. But ya you can validate ur data is valid or not like it's within range or shouldn't be null and then set the values. Which is not covered by Lombok. In this case u have to create ur own custom getter and setter.
@@naveenautomationlabs
Yeah.. Got it.. But lombok helps for sure.
Thank you naveen... Ur awesome.....
Me be like: Kitni awesome API hai yaar 😀.
😂
Hi Naveen I have some questions related to my job change can we connect please
Thanks Naveen
Thanks Naveen....will this code work on Jenkins as well since we are installing plugin manually...
Yes it will work as dependency is already added
@@naveenautomationlabs ok thanks
Great Naveen!
Waooo
What about record class java 16
@Data annotation😂😂
Java code in the future will be very readable 🙏
To String method did not work in the video.... it shud display the complete object state
He never used the to string method.
It was a wrong import for tostring method thats what I mentioned in video.
@@naveenautomationlabs sure, appreciate your response. You are Guru :)
Can I say Lombok is like "React-lib" of Java in disguise... LOL!
hi sir i am soumya and i completed Msc in computer science(2014). i started career in teaching for primary student ..... but now I am planning shift to automation testing i.e java with selenium.... plz can u guide
I am facing this issue while trying out same thing
Lombok annotation handler class lombok.eclipse.handlers.HandleData failed - See error log.
The annotation @Data is disallowed for this location