<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Raju Dubey on Medium]]></title>
        <description><![CDATA[Stories by Raju Dubey on Medium]]></description>
        <link>https://medium.com/@rajudb93?source=rss-ca2cba9697eb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*D9aP0ibaeb59zuHQ.jpeg</url>
            <title>Stories by Raju Dubey on Medium</title>
            <link>https://medium.com/@rajudb93?source=rss-ca2cba9697eb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 14:56:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rajudb93/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to build the robust BDD framework?]]></title>
            <link>https://medium.com/@rajudb93/how-to-build-the-robust-bdd-framework-e348b2d6ebfd?source=rss-ca2cba9697eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/e348b2d6ebfd</guid>
            <category><![CDATA[continuous-integration]]></category>
            <dc:creator><![CDATA[Raju Dubey]]></dc:creator>
            <pubDate>Sun, 17 Feb 2019 06:42:34 GMT</pubDate>
            <atom:updated>2019-02-17T06:42:34.220Z</atom:updated>
            <content:encoded><![CDATA[<p>How to build the robust BDD framework? Can somebody suggest any reference which people can use it for building one?</p><p>I am working on to create a BDD framework and integrating with CI-CD pipeline. I am facing a challenge to test the application with the data provided from Cucumber. To solve this problem, different approaches came into my mind. But, it has its own limitations.So, I am just jotting down my approaches here and if somebody has any better and concrete approach what they are following in their project then please feel free to share your thoughts.</p><p>Approach 1<br>=============<br>Dedicating one controlled testing database from where application will fetch the data. I can have same set of data in my feature file which is already available to test the application</p><p>Problems<br>==============<br>The major problem in this approach is that once the application is hosted, if automation script is performing any saving, deletetion,updation operation on the screen then data in database is getting changed. That means if we want to run the same automation scripts next time then manually we have to again change the input data in cucumber file to test the application as data in database got changed in the first run. If we are using this approach then this can not be used for CI-CD as automation scripts execution is automatically trigerred by Jenkins on the scheduled time and script will be started getting failed.</p><p>Approach 2<br>=============<br>Another approach is before executing the actual automation script, I can make sure a file contains insert scripts which gets executed by automation script first to load thsese data end to end and if this record already exist then I can first delete and insert it again freshly. I can use the same set of data in cucumber file as input which got inserted. In this way database will always have data against which I want to test the application.</p><p>Problems<br>=============<br>It requires a lot of maintainability as each time if there is any change in the column or table, insert script has to be updated and I also feel it will drastically increase the total run time of the automation scripts</p><p>Any Suggestions?<br>==============<br>Can somebody mention here how they handle this kind of cases in their projects? I there any better approach to handle this case?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e348b2d6ebfd" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>