<?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 Asmaa Fawzy on Medium]]></title>
        <description><![CDATA[Stories by Asmaa Fawzy on Medium]]></description>
        <link>https://medium.com/@As_Maa?source=rss-55d6deb01d9f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*XyzN6LCgegF_zc5obIeJwQ.jpeg</url>
            <title>Stories by Asmaa Fawzy on Medium</title>
            <link>https://medium.com/@As_Maa?source=rss-55d6deb01d9f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 23:38:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@As_Maa/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[Perfectionism]]></title>
            <link>https://medium.com/@As_Maa/perfectionism-f0c5d67ae40a?source=rss-55d6deb01d9f------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0c5d67ae40a</guid>
            <category><![CDATA[perfection]]></category>
            <dc:creator><![CDATA[Asmaa Fawzy]]></dc:creator>
            <pubDate>Sat, 03 Nov 2018 13:17:43 GMT</pubDate>
            <atom:updated>2018-11-03T14:34:17.996Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*BEuvMKRr7D0e5_sUDBR6Nw.jpeg" /></figure><p>Perfectionism is defined as the need to be perfect or even to believe that it’s possible to achieve perfection. It can be positive, causing people to push hard and achieve great accomplishments. When it becomes exaggerated, it becomes destructive, leading people to strive for unattainable and unrealistic goals. When those goals cannot be met, it leads to reduced self-esteem and depression.</p><p>You are motivated and driven to succeed. When you do, it can feel great. But not always. And even when it does, it’s usually only for a moment. Then you return to needing to meet your next goal. People who are perfectionistic only feel good about themselves when they are over-the-top successful. But then, anytime they even approach goal-making it seems less extraordinary — they sense that they must do more.</p><p>The key is to find ways to give an effort you can be proud of without demanding the impossible of yourself. Instead of striving for “perfect,” strive for “good enough.” Tell yourself that perfection does not actually exist and instead of feeling afraid to fail, tell yourself that you are excited to learn and list your accomplishments every day, week, month, and year. So care for yourself and know that you’re doing great.</p><p>References:<br>- <a href="https://www.psychologytoday.com/intl/blog/making-change/201808/perfectionism-can-drive-success-and-unhappiness">https://www.psychologytoday.com/intl/blog/making-change/201808/perfectionism-can-drive-success-and-unhappiness</a><br>- <a href="https://medium.com/the-year-of-the-looking-glass/battling-perfectionism-713537a8b8b6">https://medium.com/the-year-of-the-looking-glass/battling-perfectionism-713537a8b8b6</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f0c5d67ae40a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[NUnit Data-Driven tests from Excel files]]></title>
            <link>https://medium.com/@As_Maa/nunit-data-driven-tests-from-excel-files-8c35c8f99ace?source=rss-55d6deb01d9f------2</link>
            <guid isPermaLink="false">https://medium.com/p/8c35c8f99ace</guid>
            <category><![CDATA[nunit]]></category>
            <category><![CDATA[excel]]></category>
            <category><![CDATA[data-driven]]></category>
            <category><![CDATA[testing]]></category>
            <dc:creator><![CDATA[Asmaa Fawzy]]></dc:creator>
            <pubDate>Sat, 06 Oct 2018 23:53:39 GMT</pubDate>
            <atom:updated>2018-10-07T00:11:49.089Z</atom:updated>
            <content:encoded><![CDATA[<h3>NUnit DataDriven tests from Excel files</h3><p>The purpose of Unit Testing is to validate that each unit of the software works as expected. We’re going through NUnit, which is the most popular unit testing framework for .NET. Next, we will know how to read data from excel file and use this data through NUnit attribute TestCaseSource.</p><p>Let’s start ;)</p><ul><li>Just add excel file with test data to your NUnit project and make sure that file properties “Copy to Output Directory” is set to “Copy Always.”</li><li>You should create a class for a relation between data-driven tests and xlsx file with test data.</li><li>See the code below and I will explain it:</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fb4d66c793b26817151de4b318260015/href">https://medium.com/media/fb4d66c793b26817151de4b318260015/href</a></iframe><ol><li>At first the function ReadFromExcel:</li></ol><ul><li>It takes the excelFileName, excelsheetTabName and returns a list of TestCaseData attribute.</li><li>Here it gets the path to the excel file in your project and if the file not found it throws an exception.</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/84d1012ad5758061d03a9a3c9e08caed/href">https://medium.com/media/84d1012ad5758061d03a9a3c9e08caed/href</a></iframe><p>2. After getting the path, we need to be able to read the file and get the data from it. We have to open a connection through OleDb: which is an API designed by Microsoft, allows accessing data from a variety of sources in a uniform manner. Now we open the connection and will start reading the file row by row then add each row to our list.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c3549160893f1ddad3eb0ddf62329bb5/href">https://medium.com/media/c3549160893f1ddad3eb0ddf62329bb5/href</a></iframe><p>3. Passing data to the TestCaseSource attribute</p><ul><li>In your test class, you should create a new function then pass the values of FILENAME and TabName of your data file.</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f21a4202725ef3c9ab81c3849f075283/href">https://medium.com/media/f21a4202725ef3c9ab81c3849f075283/href</a></iframe><h3>Here is an example:</h3><ul><li>In this example, we validate the test cases of the name field in the registration form.</li><li>RegisrtrationData is a function in your test class.</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f88aa18698d5d7226078d1afd60abfbb/href">https://medium.com/media/f88aa18698d5d7226078d1afd60abfbb/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8c35c8f99ace" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>