A crawler for serenity reports
Hello World, In this article, we will see and build a crawler for the serenity reports. #POINTs to be discussed Beautifulsoup module for the serenity's index.html Integration/Execution of crawler Crawled data insertion into MongoDB Now, Serenity has 2 versions, v1 and v2 and each version are having a different index.html design. : Serenity-v2 report summary screenshot(Covered) : Serenity-v1 report summary screenshot (Not covered in this crawler) And we will see the summary extraction for only serenity-v2 HTML. In the crawler, I have divided all crawler into 4 sections/parts: - Index file collection - Project Meta extraction - Report Summary extraction/Scrapping - Formatting the scenario outcomes So, let's discuss each section of the crawler, what exactly they are accomplishing. :: TODO here is the crawler Code: https://github.com/ashusc/crawlers/SerenityCrawler.py ###################### # Import section # #################...