Hi All, In this video, we will see how we can use builder design pattern in test automation using static inner class in Java
Пікірлер: 4
@mayankgupta785810 ай бұрын
Hi Amuthan, could you please help on how to only initialize the values of the variables we are setting. Like in your example if I do not set a name, or lovesCoffee, or may be an int variable..still the request body will have these keys with values as their Java default values. What I was thinking what if i do not want to send the field as part of body, because with your suggested way it will always have all the variable as Keys with initialized values else default values.
@lka59683 жыл бұрын
Thanks Amuthan, Good knowledge share.
@naveenbv18383 жыл бұрын
Thanks a lot Amuthan 👍 Way of your presentation is really great with most required content 🙏
@Udzial3 жыл бұрын
Good one.. the previous method looked better as in this inner static one. we have to make 2 build(er) methods. first to get object of inner class and then to return object of outer class which can confuse even. Though the lambok one in next video does this only but in a simpler way. #thank you