I'm fairly new in the world of test automation frameworks and was researching some of the existing methodologies out there. When I came across Module Based Testing and Test Library Architecture Testing I can't understand the exact difference between the two or when i would prefer to use one over the other. If someone could please elaborate. Source: softwaretestinghelp
The main difference between the two is the perspective and focus. The Module is focused on code specifically and coverage of each module that exists, then they get stacked together for coverage.
The library approach is more designed to organize all the modules in a way to re-use commonalities and decrease the maintenance footprint.
I would also include that this is a specific site preference and not a global industry standard. Data Driven and Keyword Driven are staples, but the others vary. Like Page Factory is completely missing from the list, but is a common approach as well. Frankly I wouldn't consider model and library as separate as they build on each other and are essentially the same thing with minor perspective swaps depending on the context provided.
I would recommend browsing alot of varying sites and get a combined view instead of just using a single site like that.