<?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 Alwis Lim on Medium]]></title>
        <description><![CDATA[Stories by Alwis Lim on Medium]]></description>
        <link>https://medium.com/@alwislimwy?source=rss-b9835fd0037b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*R17eMZRDj00tT0UWT9dZzQ.png</url>
            <title>Stories by Alwis Lim on Medium</title>
            <link>https://medium.com/@alwislimwy?source=rss-b9835fd0037b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 01:11:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@alwislimwy/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[My 2018 Google Code-in Experience]]></title>
            <link>https://medium.com/@alwislimwy/my-2018-google-code-in-experience-654d6fc93327?source=rss-b9835fd0037b------2</link>
            <guid isPermaLink="false">https://medium.com/p/654d6fc93327</guid>
            <category><![CDATA[google]]></category>
            <category><![CDATA[students]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[google-code-in]]></category>
            <category><![CDATA[experience]]></category>
            <dc:creator><![CDATA[Alwis Lim]]></dc:creator>
            <pubDate>Fri, 28 Dec 2018 01:56:40 GMT</pubDate>
            <atom:updated>2018-12-28T01:56:40.971Z</atom:updated>
            <content:encoded><![CDATA[<h4>Recapping my first ever coding competition, the Google Code-in</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UwJn8xGcyMriqkaX" /><figcaption>Photo by <a href="https://unsplash.com/@arty_nyc?utm_source=medium&amp;utm_medium=referral">Arthur Osipyan</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>January 18 2017</h3><p><em>(not a typo)</em></p><p>I chanced upon an article by the Google Open Source Blog, it was titled: <strong>“Wrapping up Google Code-in 2017”</strong>.</p><p>I was 14 that year and I had taken a keen interest in coding two years before, and had just built my first computer two weeks before.</p><blockquote>“ What is the Google Code-in? ”</blockquote><p>And so I read up about it.</p><h4>What is the Google Code-in</h4><p>It’s essentially an online contest for 13–17 year olds currently enrolled in a pre-university education, what really enticed me about this competition was that, you don’t just solve textbook problems.</p><p>You solve real world problems, by real organisations.</p><p>How Google Code-in operates is that it takes open-source organisations that have volunteered, these organisations then come up with dozens, if not hundreds of tasks for the 7 weeks that Google Code-in runs.</p><p>Tasks are essentially the same as issues on repositories, below is an example of a task by the <strong>Australian Open Source Software Innovation and Education</strong> (AOSSIE).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kLCzBVyMdU98f0l1d17KsA.png" /></figure><p>And as mentioned earlier, what’s awesome is that this will be an <em>actual feature</em> that will be added to the software!</p><p>Volunteer mentors will be there to help you, every step of the way, it’s really meant to kickstart your interest if you’re a beginner, and for you to showcase your abilities if you’re more advanced.</p><p>That’s also what makes Google Code-in interesting, it’s for everyone, of all skill levels, gender and of all nationalities.</p><p>Most coding competitions are competitions where you solve textbook problems, if that’s the competition you’re looking forward to, Google Code-in isn’t your type of competition.</p><h3>September 07 2018</h3><p>Finally, the day was here!</p><p>The magical blue button that read “Apply Now!” was there and I could apply.</p><p>I clicked on the button, filled in my particulars to receive this,</p><blockquote>You are not eligible for this contest</blockquote><p>I was confused.</p><p>It’s at this moment that I feel this meme is really relatable,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/0*cqHn1uq2DvIf84hq.png" /></figure><p>I sent an email to Google Code-in support and was replied promptly, informing me that the applications were only open at that time for <em>organisations</em>.</p><p>What a scare haha! Too excited for the competition I guess.</p><h3>October 24 2018</h3><p>The applications for <em>students</em> were finally open! I went ahead to apply, got that parental consent form signed, and I was ready to choose tasks.</p><p>I did my first task, building an extension for CarbonFootprint under the organisation AOSSIE (mentioned earlier), way way late into the night.</p><p>It was exciting being able to work on a real world project, and the adrenaline was all that was needed for me to stay conscious, not a drop of coffee that night! 😉</p><h3>December 13 2018</h3><p>The competition ended, I submitted my final task, a UI/UX design for the Mind The Words project, also under the organisation AOSSIE.</p><p>The competition was a great learning experience, a fruitful one, I had learnt how small-medium sized software operated, I had usually worked on textbook problems, where we code software that wasn’t meant or built for scalability, but working with the software on GCI, I got a taste of what scalable software looks like, always having to ensure that whatever code I typed was scalable, whatever I did was scalable.</p><p>It was also the first time I truly understood the DRY principle. It made a lot of sense when I saw the same functions popping up so every often, typing the whole code out instead of using a function would definitely have resulted in a crappy software.</p><p>It was also the first time I’ve had a mentor, and god was I blessed to have great mentors.</p><p>I would personally like to point out a mentor that really went out of his way to help me, <a href="https://medium.com/u/fd4547dd705f">Abanda Ludovic</a>.</p><p>We were doing a task on disabling options for those who connected via Facebook, and I was particularly troubled while doing that task, I wasn’t able to grasp the idea of how the authentication was implemented and I kept asking questions, questions after questions.</p><p>My mentor Abanda, however, never fazed, or at least he didn’t show it! 😬</p><p>He kept on answering my questions promptly, even at one time offering to stay online at the same time as me and communicating through PMs on Gitter, helping me out as I encountered difficulties.</p><p>Without his help, I wouldn’t have been able to progress as much as I would’ve wished. Thank you Abanda, it was my first time having a mentor, and I’m glad he was a great one.</p><p>Another mentor I would like to thank would be <a href="https://medium.com/u/c8ebba1233e4">Thuvarakan Tharmarajasingam</a>. Mentor Thuvarakan would always be there whenever any other mentor couldn’t. There was this instance where the mentors assigned to the project did not reply for around 36 hours, they were probably busy, but I didn’t bug them because I knew they had their own lives and they were volunteers who go out of their way to help us the best they can.</p><p>Thuvarakan had probably noticed that my question was left hanging and he went on to answer it for me, providing valuable help.</p><p>Every time I saw a task with these two mentors, I would feel particularly happy and at ease, because I knew if I needed help, it’d be there.</p><p>Working on Open Source Projects, there’s this unintended side effect, you get the feeling you’re <em>creating</em> something, you’re <em>building</em> something, you’re <em>part</em> of something. That’s what made me enjoy GCI, I was creating, building and being part of an awesome team.</p><p>It’s also what made me more interested in helping out in Open Source Projects, and I think that’s what GCI set out to achieve, to introduce students to the world of Open Source.</p><p>I talked about Mentors, and the competition, but here’s one to an unlikely group, my competitors.</p><p>To be honest, it feels weird calling them competitors, because in my opinions they were more like friends. When I was on the “Current Leaders” list, a fellow competitor <a href="https://medium.com/u/7f2d482ff7cb">Saad Pasta</a> dropped me a private message, congratulating me, that gesture warmed my heart.</p><p>It was awesome knowing we weren’t out to pull each other down, we were standing together, chasing for the prize together.</p><p>Another awesome dude, <a href="https://medium.com/u/720adb25210e">Simran Singh</a> was also particularly nice, we chatted and had a great conversation approaching the end of the competition. He was always there ready to help others whenever they needed help, offering another fellow competitor help in setting up one of the Task requirements.</p><p>It wouldn’t be the same GCI experience without them, there are of course many more others that I’ve had the pleasure and privilege to have a chat with, help or be helped by.</p><p>Google Code-in will run its 10th edition next year, I’ll be sure to participate in it, as a mentor, or a competitor — and I hope to see you there too!.</p><p>If you have any questions in regards to this, don’t hesitate to drop me a comment and I’ll be sure to answer them promptly! 😃</p><p>Thank you for taking your time to read my article!</p><p>Hope you enjoyed my article and don’t forget to smash that clap button 😉.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=654d6fc93327" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[End-to-End Testing Angular Software]]></title>
            <link>https://medium.com/@alwislimwy/end-to-end-testing-angular-software-70cf51ef5aa2?source=rss-b9835fd0037b------2</link>
            <guid isPermaLink="false">https://medium.com/p/70cf51ef5aa2</guid>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[quality-assurance]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Alwis Lim]]></dc:creator>
            <pubDate>Sun, 25 Nov 2018 07:36:01 GMT</pubDate>
            <atom:updated>2018-11-25T07:36:01.368Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pe6j4U8YOsQc-hrU" /><figcaption>Photo by <a href="https://unsplash.com/@kobuagency?utm_source=medium&amp;utm_medium=referral">Kobu Agency</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>For those of you who don’t know what’s <strong>End-to-End testing (e2e)</strong>, think of <strong>Usability Testing </strong>but by the <strong>Quality Assurance Team</strong>, if you don’t know what’s Usability testing, you might want to check out my other article on <strong>Software Testing Methodologies</strong>.</p><p><a href="https://medium.com/@allThingsIT/software-testing-methodologies-3505ee2ab74">Software Testing Methodologies</a></p><p>Now, how do we do e2e testing for our Angular application? Good news — you can automate it.</p><h3>The Official Library</h3><p><a href="http://www.protractortest.org/#/">Protractor Test</a> is the <strong>official</strong> Library endorsed by Angular to automate e2e testing. Therefore, we will be using the Protractor Test today, the Protractor Test. The Protractor uses <a href="https://jasmine.github.io/">Jasmine Test Framework</a> for its testing interface.</p><p>Today, we will be doing this according to the official Protractor test documentation, so you can be rest assured this is as accurate as it can be.</p><h4>Pre-Requisites</h4><ul><li>An Angular Application ready for testing</li><li>Some familiarity with Jasmine</li><li>Java Development Kit (JDK) installed</li><li>npm and node installed</li></ul><h3>Setup</h3><p>First of all, we need to install the <em>Protractor</em> and <em>webdriver-manager </em>Command Line tools. We do this by using the same command syntax to install any library through npm.</p><pre>npm install  -g protractor</pre><p>After everything has been installed, you might wanna test if it’s successfully installed.</p><pre>protractor --version</pre><h4>What is the webdriver-manager Command Line Tool?</h4><p>It’s just a helper tool to run an instance of the Selenium Server, which we will be using for testing. What happens is that Protractor will output a bunch of info logs onto the Selenium Server, the Protractor tests will send requests to this server to control it, automating the tests for us.</p><p>Now, we need to download the necessary binaries to be able to get an instance of Selenium Server running.</p><pre>webdriver-manager update</pre><p>After everything is installed successfully, let’s get an instance of Selenium server running.</p><pre>webdriver-manager start</pre><p>Unless otherwise stated on the Terminal, you will be able to see the status of the server at <a href="http://localhost:4444/wd/hub.">http://localhost:4444/wd/hub.</a></p><h3>Writing a Test</h3><p>Protractor needs two files to run, a <strong>spec.js</strong> file and a <strong>conf.js</strong> file.</p><p>For the sake of demonstration, I will be using the Super Calculator application found <a href="http://juliemr.github.io/protractor-demo/">here</a>.</p><p>In your <strong>spec.js</strong> file, you should have the following</p><pre>describe(&#39;Protractor Demo App&#39;, function() {<br>  it(&#39;should have a title&#39;, function() {<br>    browser.get(&#39;http://juliemr.github.io/protractor-demo/&#39;);<br><br>    expect(browser.getTitle()).toEqual(&#39;Super Calculator&#39;);<br>  });<br>});</pre><p>Let’s break down the code, we can see that there’s 3 keywords here.</p><p>describe &amp; it: They are functions from the Jasmine Test Framework and they can contain any executable code necessary to implement the tests. In these functions, Javascript scoping rules apply, so any and all variables you declare in the describe block re available to the it blocks in the test suite.</p><p>expect:This are expectations, which takes a value called the actual. It is chained with a Matcher function to take the expected value and check that it matches.</p><p>You see another global… browser, browser is a global created by Protractor, which is used for browser-level commands such as navigation with browser.get.</p><p>Now, in the configuration file,</p><pre>exports.config = {<br>  framework: &#39;jasmine&#39;,<br>  seleniumAddress: &#39;http://localhost:4444/wd/hub&#39;,<br>  specs: [&#39;spec.js&#39;]<br>}</pre><p>The configuration file tells Protractor where your test code is in, and under what address to talk to the Server. It also specifies that we will be using Jasmine for the test framework.</p><p>By default, the Selenium Server will open with a Chrome browser.</p><p>Now we can run the test by doing</p><pre>protractor conf.js</pre><p>A Chrome Browser Window should open up and navigate to your application. The test output will be dependant on your application and the tests you have written, for example, the test above will navigate to my calculator and the output will be 1 tests, 1 assertion, 0 failures.</p><h3>Interacting with HTML elements</h3><pre>describe(&#39;Protractor Demo App&#39;, function() {<br>  it(&#39;should add one and two&#39;, function() {<br>    browser.get(&#39;http://juliemr.github.io/protractor-demo/&#39;);<br>    element(by.model(&#39;first&#39;)).sendKeys(1);<br>    element(by.model(&#39;second&#39;)).sendKeys(2);<br><br>    element(by.id(&#39;gobutton&#39;)).click();<br><br>    expect(element(by.binding(&#39;latest&#39;)).getText()).<br>        toEqual(&#39;5&#39;); // This is wrong!<br>  });<br>});</pre><p>This uses the globals element and by, which are created by Protractor. The element function is used to finds HTML elements, it returns the ElementFinder object and is used to interact with an element to say get information or send information. For example, we use .getText() here to return the contents of an element.</p><p>Here are some examples of Locators:</p><ul><li>by.model(&#39;first&#39;) to find the element with ng-model=&quot;first&quot;. If you inspect the Calculator page source, you will see this is &lt;input type=&quot;text&quot; ng-model=&quot;first&quot;&gt;.</li><li>by.id(&#39;gobutton&#39;) to find the element with the given id. This finds &lt;button id=&quot;gobutton&quot;&gt;.</li><li>by.binding(&#39;latest&#39;) to find the element bound to the variable latest. This finds the span containing {{latest}}</li></ul><h3>Writing multiple scenarios</h3><pre>describe(&#39;Protractor Demo App&#39;, function() {<br>  var firstNumber = element(by.model(&#39;first&#39;));<br>  var secondNumber = element(by.model(&#39;second&#39;));<br>  var goButton = element(by.id(&#39;gobutton&#39;));<br>  var latestResult = element(by.binding(&#39;latest&#39;));<br><br>  beforeEach(function() {<br>    browser.get(&#39;http://juliemr.github.io/protractor-demo/&#39;);<br>  });<br><br>  it(&#39;should have a title&#39;, function() {<br>    expect(browser.getTitle()).toEqual(&#39;Super Calculator&#39;);<br>  });<br><br>  it(&#39;should add one and two&#39;, function() {<br>    firstNumber.sendKeys(1);<br>    secondNumber.sendKeys(2);<br><br>    goButton.click();<br><br>    expect(latestResult.getText()).toEqual(&#39;3&#39;);<br>  });<br><br>  it(&#39;should add four and six&#39;, function() {<br>    // Fill this in.<br>    expect(latestResult.getText()).toEqual(&#39;10&#39;);<br>  });<br><br>  it(&#39;should read the value from an input&#39;, function() {<br>    firstNumber.sendKeys(1);<br>    expect(firstNumber.getAttribute(&#39;value&#39;)).toEqual(&#39;1&#39;);<br>  });<br>});</pre><p>As you can see here, to write multiple scenarios, we just reuse the it blocks.</p><h3>Changing the configuration</h3><p>For a full list of configuration options, you can see the config file <a href="https://github.com/angular/protractor/blob/5.4.1/lib/config.ts">here</a>.</p><p>For this demonstration, I’ll be changing the default browser from Google Chrome to Firefox.</p><pre>exports.config = {<br>  framework: &#39;jasmine&#39;,<br>  seleniumAddress: &#39;http://localhost:4444/wd/hub&#39;,<br>  specs: [&#39;spec.js&#39;],<br>  capabilities: {<br>    browserName: &#39;firefox&#39;<br>  }<br>}</pre><p>As you can see, we introduce a new option “capabilities”, setting the browser configuration using browserName to firefox.</p><p>And that’s all the basics you need to know for creating tests with the Protractor Test Framework!</p><p>If you want to find out more about Jasmine, you can read the documentation <a href="https://jasmine.github.io/pages/docs_home.html">here</a>.</p><p>Otherwise, if you want to find out more about Protractor, you can read the documentation <a href="https://www.protractortest.org/#/toc">here</a>.</p><p>Thank you for taking your time to read my article! Just a few things I would like to say as a disclaimer.</p><blockquote>1. The information provided in this article is as accurate as to my research and personal experience, you should never quote this article for official purposes.</blockquote><blockquote>2. The information provided in this article is for educational purposes only, I am not responsible if you were to use this information for malicious purposes or get yourself into legal trouble.</blockquote><p>If you want to find out more on something else security / tech-related, comment section’s below!</p><p>Hope you enjoyed my article and don’t forget to smash that clap button 😉.</p><p>Check out my other story on Software Testing Methodologies!</p><ul><li><a href="https://medium.com/@allThingsIT/software-testing-methodologies-3505ee2ab74">Software Testing Methodologies</a></li><li><a href="https://medium.com/@allThingsIT/">Kenal T. - Medium</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=70cf51ef5aa2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Software Testing Methodologies]]></title>
            <link>https://medium.com/@alwislimwy/software-testing-methodologies-3505ee2ab74?source=rss-b9835fd0037b------2</link>
            <guid isPermaLink="false">https://medium.com/p/3505ee2ab74</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[debugging]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[angular]]></category>
            <dc:creator><![CDATA[Alwis Lim]]></dc:creator>
            <pubDate>Fri, 23 Nov 2018 03:18:13 GMT</pubDate>
            <atom:updated>2020-07-07T23:57:35.113Z</atom:updated>
            <content:encoded><![CDATA[<h4>What are they?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2OMN_LW02xSPyEhR" /><figcaption>Photo by <a href="https://unsplash.com/@muhraufan?utm_source=medium&amp;utm_medium=referral">Muhammad Raufan Yusup</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Testing Methodologies are basically <em>strategies</em>, <em>methods (duh!)</em> that are used to test a product. For example, a Boeing Jetliner is tested to ensure it is fit and serves its intended purpose — flying. They are put through tests like cold weather conditions, single-engine landing, full load landing, ability to navigate in stormy conditions, etc.</p><p>These tests ensure that there are no <strong>undesirable</strong> side effects when used in ways <strong>outside</strong> of its <strong>intended</strong> <strong>purpose</strong>, at the same time ensuring they’re able to function as it was <strong>meant</strong> to be.</p><p>Testing Methodologies do the same thing as these aeroplane tests, they ensure that when you press the “power on” button on your computer, it turns on the computer and doesn’t <em>overheat the battery and explode</em>, they ensure that when you press the “fork” button on a Github repository, it forks the repository and doesn’t <em>send you advertisements about forks</em>, they ensure that when you use a straw, you’re able to fill your mouth with soda and <em>not a mix of soda and air.</em></p><h3>What are Software Testing Methodologies?</h3><p>They’re basically Testing Strategies, just, for software. They ensure that a software application serves its due purpose and has no undesirable side effects, they go from testing <strong>individual components</strong>, to the <strong>entire application</strong> itself! However, in Software Testing Methodologies, there’s <em>two</em> big umbrellas of Testing Strategies, they are <strong>Functional Testing</strong> and <strong>Non-Functional Testing</strong>.</p><blockquote>They’re basically Testing Strategies, just, for software.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Nqe1NUIt8XzYUP1Q" /><figcaption>Photo by <a href="https://unsplash.com/@emilymorter?utm_source=medium&amp;utm_medium=referral">Emily Morter</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Before we move on, ask yourself this — why are Testing Methodologies important?</p><p>Because in any product, hardware or software, things <em>don’t always go according to how you planned it</em>. Without testing, it often leads to <strong>unstable</strong> products that is a bug haven, unfortunately, in this scenario, calling in Pest Control won’t do you much help to remove the bugs, you’ll have to face the <strong>consequences</strong> of having your clients be presented a <strong>flawed</strong> product, and them <em>questioning your ability</em>.</p><p>Therefore, having a good and proper Testing plan with a variety of testing Methodologies will help you in ensuring you <em>meet your deadlines</em> with a product that <em>you know serves its intended purposes</em> with the required usability and security. Therefore being <strong>unlikely</strong> to give any major unexpected bug that would impact its core functionality.</p><h3>Functional Testing Methodologies</h3><p>Functional Testing consists of <strong>4</strong> different types of testing, <strong>Unit Testing</strong>, <strong>Integration Testing</strong>, <strong>System Testing </strong>and <strong>Acceptance Testing</strong>. These tests serve to ensure that it serves its requirements and are done using <em>specifications provided by the client</em>.</p><h4>Unit Testing</h4><p>Unit Testing tests <strong>individual</strong> software modules or components that make up the entire software. This is often done when the module is first created as part of the specifications provided, each module function is tested by a fixture written in the same language.</p><p>For example, I have a module that checks the number of people currently in a theme park using the functions <em>entered()</em> and <em>left()</em>. I will have a test where my function <em>entered()</em> is checked to ensure that it outputs the number of people who have entered the park, not the number of people who have left the park.</p><p>So, to conclude, Unit Testing tests <strong>individual</strong> units, or components, or software modules or … (I don’t think I need to give more examples 😉).</p><h4>Integration Testing</h4><p>Integration Testing is also commonly known as <strong>Scenario Testing</strong>. What happens is that Integration Testing tests the <strong>combined</strong> functionality of successfully Unit Tested components, or in other words, tests that the components / modules <em>work hand-in-hand together</em>.</p><p>For example, I have an aircraft engine component and a fuselage component, I have done Unit Testing to both, where I have ensured the engine produces enough thrust, and that the fuselage is able to hold all the passengers, cargo and crew. Then, I combine them together with other components like wings, rudder, to test that if they’re able to work together to produce an aeroplane, that when the engine produces thrust, the fuselage is able to be flown off the ground, guided by the wings and controlled by the pilots in the cockpit.</p><p>So, to conclude, Integration Testing tests <strong>all</strong> of the components that have been unit tested in a scenario / together, to ensure that they’re able to function as <strong>required</strong> in the specifications.</p><h4>System Testing</h4><p>After Unit Testing and Integration Testing, comes System Testing. System Testing is used to ensure that there are no <strong>bugs or errors</strong> by putting it through <em>user-expected working conditions as well as potential exception and edge conditions</em>.</p><p>For example, I system test my aeroplane to ensure that when it flies, the wings doesn’t fall off due to a manufacturing fault (or a bug). When I system test my aeroplane, I ensure that when a lightning strikes it, it doesn’t break apart into a million pieces but instead continues functioning as normal.</p><p>So, to conclude, System Testing is really just testing for <strong>bugs and errors</strong> and making sure they work according to the specifications.</p><h4>Acceptance Testing</h4><p>By now, any bugs that have popped up should have already been fixed and any errors been corrected. Finally, we have come to the <strong>last</strong> stage — of functional testing. This testing is essentially a test of the <strong>entire software</strong> <strong>application</strong>, ensuring that every button works like how it’s supposed to, every download button downloads the right thing every page displays its needed information.</p><p>I don’t have any example for this, it’s really just testing everything — like pressing all the buttons on the lift to made sure it worked 😜.</p><p>So, to conclude, Acceptance Testing is really <em>just testing the entire thing</em>, that’s all there is.</p><h3>Commercial Break!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FXFBY3qA53qbNtyz" /><figcaption>Photo by <a href="https://unsplash.com/@jakobowens1?utm_source=medium&amp;utm_medium=referral">Jakob Owens</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><a href="https://medium.com/@allThingsIT/the-different-wi-fi-security-protocols-9b3634e4152">The Different Wi-Fi Security Protocols</a></p><p>Check out my other article on different Wi-Fi Security Protocols!</p><p><a href="https://medium.com/@allThingsIT">Kenal T. - Medium</a></p><p>Be sure to follow me too so that you’re informed when I post a new article, I post about all things IT!</p><h3>Non — Functional Testing Methodologies</h3><p>Functional Testing is testing <em>according to the specifications</em>, however, Non-Functional Testing involves testing the application <em>against defined technical qualities</em>, for example, how an engine performs when reused over and over again continuously for a week without rest.</p><p>There are four types of Non-Functional Testing, they are <strong>Performance Testing</strong>, <strong>Security Testing</strong>, <strong>Usability Testing</strong> and <strong>Compatibility Testing</strong>.</p><h4>Performance Testing</h4><p>During Performance Testing, we <strong>mainly</strong> test for <strong>3</strong> things, how the system behaves under an increasing load, for example, how a server behaves when it’s fed thousands of packets every second for a minute, whether or not the system can operate at the required response times when subjected to its expected loads, meaning the server doesn’t take 25 minutes to send 1Mb of data, and lastly, finding the point in which the system that’s being tested will crash.</p><p>Essentially, it’s testing how the software <em>behaves under pressure</em>, it’s like revving your car up just to see how loud it can go.</p><h4>Security Testing</h4><p>As the name implies, this tests the <strong>security</strong> of the software, whether or not non-authenticated users can view content that only authenticated users can. This is a very important step of Testing and should <strong>always</strong> be done before public release, <strong>imagine</strong> Netflix having a security vulnerability <em>that would allow anyone and everyone to view its contents for free</em>!</p><p>Don’t think I need to provide you any examples, I’m sure you’ve heard of the dozens or so Cyber Attacks happening everyday.</p><h4>Usability Testing</h4><p>Usability testing is something closely linked to <strong>User Experience</strong>, it looks at <strong>five</strong> aspects, <strong>learnability</strong>, <strong>efficiency</strong>, <strong>satisfaction</strong>, <strong>memorability</strong> and <strong>errors</strong>. Essentially it ensures when users look at your User Interface, they know how to use it intuitively, when errors pop up, the Users <strong>know</strong> what they mean.</p><h4>Compatibility Testing</h4><p>Last but not least, Compatibility testing, this tests that the software is <strong>compatible</strong> with all the <em>specified points of use</em>, for example, the software is able to be used on all PCs, <strong>regardless</strong> of screen resolution and OS version. This is commonly done for Websites, ensuring that they’re responsive across all screen sizes and resolutions.</p><p>We’ve come to the end of the two main types of Testing Methodologies! It was surely a pleasure writing this one!</p><p>If you have any questions in regards to this, don’t hesitate to drop me a comment and I’ll be sure to answer them promptly! 😃</p><p>Thank you for taking your time to read my article! Just a few things I would like to say as a disclaimer.</p><blockquote>1. The information provided in this article is as accurate as to my research and personal experience, you should never quote this article for official purposes.</blockquote><blockquote>2. The information provided in this article is for educational purposes only, I am not responsible if you were to use this information for malicious purposes or get yourself into legal trouble.</blockquote><p>If you want to find out more on something else security / tech-related, comment section’s below!</p><p>Hope you enjoyed my article and don’t forget to smash that clap button 😉.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3505ee2ab74" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>