Category Archives: QA

Javascript Unit Testing using Jasmine – Code Examples

jasmine unit testing framework

The article lists down some of the unit tests samples for testing Javascript code. The unit tests in this article tests the javascript code presented in this article, “What are Objects in Javascript?”. Before presenting code samples, lets try and understand what is Jasmine? As on the Jasmine website, it is defined as a behavior-driven development framework for testing JavaScript code. It does not depend on any other JavaScript frameworks. It does not require a DOM. And it has a clean, obvious syntax so that you can easily write tests.  By what I learnt so far, I could vouch for the statement “And it has a clean, obvious syntax so that …

Continue reading

Posted in Javascript, Testing. Tagged with , .

Mobile Testing Tools & Methodologies used @ Expedia

The article lists down tools & methodologies used for testing Expedia mobile apps (both mobile web & native). Test-driven Development (TDD) TestNG: TestNG is a unit testing framework similar to JUnit. Apart from unit tests, TestNG can also be used to cover other categories of tests such as functional, end-to-end, integration etc. EasyMock: It is, primarily, used for mocking and custom solution for stubbing. As a mocking framework, EasyMock provides mock objects for interfaces by generating them on the fly using Java’s proxy mechanism.   Automated Acceptance Testing Frank (iOS): Frank, primarily, allows you to write and execute automated acceptance tests (using Cucumber) against your iOS application to verify its functionality. Simply …

Continue reading

Posted in Mobility, QA. Tagged with , , .

Mobile Apps Testing Frameworks Used at LinkedIn

The article lists down tools & frameworks that are used for mobile app testing at LinkedIn. Vows: Vows is a behavior driven development framework for Node.js. It is used to do asynchronous testing with Node.js. The primary feature of the framework is its support for asynchronous testing with Node and, the ability to run concurrent tests. Vows also supports code coverage reporting. Robotium: Robotium is an Android test automation framework that has full support for native and hybrid applications. It supports black-box UI tests for android applications. It is used to test native LinkedIn android app. Selenium: Selenium is used to automate end-to-end testing with mobile web browsers. FoneMonkey: FoneMonkey …

Continue reading

Posted in Mobility, QA. Tagged with , , .

Why Facebook Relies on A/B Testing?

This article talks about A/B testing, why companies like Facebook rely on it and what would it take to adopt such testing for your website.   What is A/B testing? A/B testing is a strategy in marketing in which two versions, A and B, (the control and the treatment) are tested against each other. A/B testing, as the names implies, is a simple randomized experiment with two variants/versions, A and B, one of which version A might be currently used version (control) and, version B (treatment) is modified in some respect to study/test the users’ behavior. These tests are also called as split tests. These tests involve modification some of the following …

Continue reading

Posted in QA. Tagged with , .

How to Increase Unit Test Coverage of Legacy Code?

test coverage

The article represents a time-tested approach on how to increase unit test coverage with legacy code. I shall try and answer following relevant questions in order to present the approach on increasing the test coverage of legacy applications (code). What are some of the key challenges? Leadership Buy-in: As soon as you start planning for writing unit tests on legacy applications, you come to realize that it won’t be very effective and smooth without the consideration of code refactoring. The reason being the fact that legacy code in many cases are found to have very high code complexity in terms of cyclomatic complexity and, familiar code smells such long classes, …

Continue reading

Posted in Maintainability, Software Quality, Testing, Unit Testing. Tagged with , .

Tips & Techniques for Estimating Software Testing Effort

testing

Even before we go about looking into tips and techniques for doing effort estimation for testing, it may be kept in mind that testing can be secluded as a separate task. It starts with the start of the project by starting to analyzing the project requirements and come up with a test plan comprising of test cases (primarily) and goes on till the end in form of performing the tests. However, it may be good idea to understand different aspects of testing to be done in the project and assign efforts accordingly if the testing includes specific attention due to various different reasons. Also, different software development methodologies such as …

Continue reading

Posted in Testing. Tagged with , , .

Testing Early, Testing Often for Greater Success in Agile SCRUM

testers and developers collaborate

In my experiences, I have found two different approaches taken towards testing in Agile SCRUM: Testers creating test plans while interacting with BAs, as like in waterfall model, in the beginning of each sprint, and executing those tests once the development is done. In this model, testers and developers still managed to survive successfully in their own islands/worlds and things used to move. However, there is not much interaction and collaboration between developers and testers during development phase. There are chances of usual conflicts that happens in the world of development and testing. Testers creating test plans with help of BAs, collaborating on test cases, related with user stories, with …

Continue reading

Posted in Agile Methodology, QA. Tagged with , , .