Plugins in BDD cucumber Framework |Maven compiler | Maven surefire | Maven failsafe plugin

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi everyone this is SMY welcome to Q automation classes so today in today's session we are going to learn about the different types of the plugins we have uh so there are three plugins that we are going to learn today so first one is uh Maven compiler plugin so I'll say Okay one minute so one is the maven compiler plugin okay so Maven compiler plugin another one is your uh Shire plugin is also there right so mavin Shire plugin so let's say mavin and I'll say Sure Fire Shire plugin mavin Shire plugin and the third one is the mavin fil plugin okay so third one is the MAV so fail safe mavin fa sa plugin okay so these are the three types of the plugins that we are going to learn today okay so in our current automation framework we going to use Maven compiler plugin and Maven fail plugin we're not going to use the C plugin okay so let's go to our pom.xml and try to see okay so if you go to the pom.xml and open it so let's go to the plugin section okay so in the build plugins plugin okay so the first plugin is the mavin compiler plugin okay and version is 3.11.0 okay Source 21 Target 21 okay so but let's understand what exactly is this right so what we trying to do with the help of this Maven compiler plugin okay so this uh Maven compiler plugins as the name suggest it is going to compile your code right so mavin compiler plugin as the name suggest it is going to compile your code okay so MAV compiler plugin is used to compile the code okay this is for the only for the compilation okay and then there is Shire plugin so what does the Shire plugin do the Shire plugin it handles the unit test exec and it fails the build process if there are any test fers okay so whatever test test cases you have designed right so it is going to execute them and if there are any build failures or if there if any of the test cases fails then it is going to stop the build process okay so that is the maven share plugin okay and then there is one more that is the maven fail plugin right so what exactly is this fail set plugin so if I scroll down and I can show you here explain okay so this is the one M filep login okay right so what exactly does m f login so if you see it has goals okay what what are the goals you can Define the multiple goals I'm saying goal is integration test okay so this is my goal and there is another goal called as the verify so two goals are there okay so what exactly these two goals okay so the integration test uh goal it is used to run your integration test cases okay what whatever the tests are there and verify it will verify whether your integation tests are passed or not okay and let's say some of your test cases are going to fail are failed okay so when some of the test cases failed it is not going to fail the build straight away okay it will allow the phase post integration test to execute right where the cleanup operations are so whatever the cleanup PS are there it can go and execute those things okay and in the faip uh compiler PL in the faep plugin not compiler in the M faep plugin we can Define few extra things like the parallel uh execution related attributes okay and here even we can Define the runner related information cucumber Runner related information right so if you see here I'm saying in the configuration include include equals to star/ cumar runner. Java but here if you see our test Runner is cumber uh runner test okay so our runner is cucumber Runner test and uh here we are saying cucumber runner. Java okay both are not same now okay so we'll see going forward we'll see how to specify it okay and if you see the parallel related attribute so we are saying parallel equals to methods okay so we are going to have the parallel in the method level parallelization will be there and we are saying thread count is three and per code thread count is true okay so this is the parallel attributes that we uh mentioned in the uh our uh FIP uh Maven fil plugin okay so so in this uh video we understood about uh three different plugins Maven compiler plugin Shire plugin and M fail plugin and going forward we'll see how this m fail set plugin is going to get used in the par execution before that we have to enable our framework to be compatible to run the parallel execution related thing right so we need to implement the thread guard we need to implement the first implement the browser Factory we need to have the hooks then we need to have the thread guard and the thread local for protecting the parallel execution right so all those concept will come and then you will see how can we leverage the uh this mavin uh fail set plugin configuration and goals and everything to execute our test in parallel so this is very small session guys so stay tuned for the next upcoming sessions where we'll see how how exactly we are going to uh put the code into the browser Factory class and then how we are going to implement the hooks right so from here we are going to start our uh automation existing automation framework to shift to a realtime automation framework which can be used in the your real time application if there is a need of the building a new application uh automation framework from the scratch you can use this automation framework okay so that's all to this class guys so please stay tuned to Q automation classes for further uh upcoming sessions and if you guys are really enjoying this sessions I'll request you to subscribe to my channel and share this videos with your friends and family so that they can also get benefited out of it and uh if you have anything any questions put them in the comments I'll get back to you as soon as possible so yeah so let's uh meet in the next class thank you bye-bye
Info
Channel: QA Automation Classes
Views: 133
Rating: undefined out of 5
Keywords: maven, maven compiler plugin, maven compile error, apache maven compiler plugin, maven plugins, plugins in maven, compile, how to use plugins in maven, maven compiler, maven tutorial for beginners, maven compile, plugin, maven helper plugin, maven jar plugin, maven tutorial, compiler, maven java compiler version, maven dependency plugin, developing maven 3 plugin, surefire plugin maven, maven frontend plugin, maven plugin development, computer science, qaautomationclasses
Id: Mod1Mgh97ow
Channel Id: undefined
Length: 6min 20sec (380 seconds)
Published: Mon May 06 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.