Featured Post

15 Python Tips : How to Write Code Effectively

Image
 Here are some Python tips to keep in mind that will help you write clean, efficient, and bug-free code.     Python Tips for Effective Coding 1. Code Readability and PEP 8  Always aim for clean and readable code by following PEP 8 guidelines.  Use meaningful variable names, avoid excessively long lines (stick to 79 characters), and organize imports properly. 2. Use List Comprehensions List comprehensions are concise and often faster than regular for-loops. Example: squares = [x**2 for x in range(10)] instead of creating an empty list and appending each square value. 3. Take Advantage of Python’s Built-in Libraries  Libraries like itertools, collections, math, and datetime provide powerful functions and data structures that can simplify your code.   For example, collections.Counter can quickly count elements in a list, and itertools.chain can flatten nested lists. 4. Use enumerate Instead of Range     When you need both the index ...

5 Best Features and Development Model for Agile

In Agile development model each sprint has phases of requirements, design, development and testing. In the development phase, development team concentrates on new features to be developed and unit testing around it. But it misses on the regression of existing working functionality.

This leads to defect seepage from Development phase to Test phase. Consequence of it is late defect identification, reporting, fixing and re-verification of the defect. This defect cycle continues till it is fixed.

Drawback of Agile

The drawback of this approach is project teams put in extra effort of identifying defects and reporting. Late identification of defects also leads to risk of schedule slippage.

Here in this article is a mechanism proposed to minimize defect leakage from development phase to testing phase in agile software development life cycle by moving the regressed automated scripts from testing phase to development phase.

  1. The advantages of this approach of agile software development are:
  2. Early identification of defects in already working functionality.
  3. Development teams can use the regressed automation pieces as and when required to ensure that their new code is not introducing bugs in already existing functionality.
  4. Earlier identification of any requirement or design misses.
  5. It would save effort invested in reporting and documentation of the bug.
  6. Would help in restricting schedule slippages due to bugs being identified in later stages.
  7. It would further remove chances of test phase misses of bugs in already working functionality.
 Brief overview of Agile Software development Life Cycle:

In agile software development life cycle the product or solution is first divided into features which need to be developed. If there are new features identified in the midst of complete product release it again gets planned across sprints.

Agile Sprint duration is decided based on feature to be developed. Every sprint goes through the phases of Requirement, Design, Development and Testing phase.

In the requirements phase, software requirements are framed.

In the Design phase, design of the product / solution to be done is come up with. Here test team understands the requirements and comes up with a test strategy / plan to proceed with testing of the piece being developed.

In the Development phase, Developers are actively involved in writing source for solutions to be provided and then in unit testing of the functionalities developed. Here the test team is involved in writing test cases for functionalities being developed.

In the Test phase, Manual testing happens on the basis of test cases written. Automation testing for the test cases automated is also done. Here the development team is involved in fixing the bugs reported and test team re-verifies it.

 Development Model flow chart (ref: IBM)
Identified Gap:

While identifying the test cases to be automated, the first choices are those test cases which need to be run in each regression run. In SDLC mode of development as new features keep being added, test cases are added to automation suite. This keeps increasing the regression automation bed.

As the new suites are added to automation bed they mature only after multiple runs in that sprint. After sprint is over the automated regression suite is also stable to be used without any hiccups.

Using an agile mode of development, means the functionality developed in the last sprint would be integrated with the new functionality developed. This leads to changes in modules developed in previous sprints, which may result in bugs in the already developed functionality.

As the current models tie automation testing in the test phase, bugs introduced in previously working functionality get tracked in Test phase. This leads to a cycle of identification of bugs, reporting, fixing and re-verification of it.

Related: Agile vs Waterfall Model

Why Companies need Agile model?

Agile development methodology provides opportunities to assess the direction of a project throughout the development lifecycle. This is achieved through regular cadences of work, known as sprints or iterations, at the end of which teams must present a potentially shippable product increment.

By focusing on the repetition of abbreviated work cycles as well as the functional product they yield, agile methodology is described as “iterative” and “incremental.” In waterfall, development teams only have one chance to get each aspect of a project right. In an agile paradigm, every aspect of development — requirements, design, etc. — is continually revisited throughout the lifecycle. When a team stops and re-evaluates the direction of a project every two weeks, there’s always time to steer it in another direction.

Comments

Popular posts from this blog

How to Fix datetime Import Error in Python Quickly

SQL Query: 3 Methods for Calculating Cumulative SUM

Big Data: Top Cloud Computing Interview Questions (1 of 4)