Free Online Courses for Software Developers - MrBool
× Please, log in to give us a feedback. Click here to login

You must be logged to download. Click here to login


MrBool is totally free and you can help us to help the Developers Community around the world

Yes, I'd like to help the MrBool and the Developers Community before download

No, I'd like to download without make the donation


MrBool is totally free and you can help us to help the Developers Community around the world

Yes, I'd like to help the MrBool and the Developers Community before download

No, I'd like to download without make the donation

An Overview about Software Testing

In this article I will describe the test plan for testing software applications and the guidelines. Testing of any application is as important as doing the development.

The Test plan article describes how the software you will build up will be tested to make sure, or at least develop, exactness. There are some reasons why the test plan should be developed before to or at least parallel with, the coding time.

  • In huge teams, the Test Plan team can and should be a separate body from the Coding team mutually take their input information in a straight line and only from the Design document, thus, if any discrepancies arise between a test and the code, this might point out ambiguities in the Design document, which must then be resolved before the test and the code can be prepared to accept.
  • As an added benefit, having part teams work on the Test Plan and the Code parallel decreases the general period of the development program.
  • If the Test Plan is developed after the code by the code developers are much more likely that the tests would be written with the code in mentality in spite of what the Design document says or of what the User Manual specifies. While this is maybe suitable for very low-level unit testing (which may help from being alert of odd implementation details that should be strained during testing), it is not a good idea due to the intrinsic coder’s partiality: humans tend to fail to see their own mistakes.

A Test Plan should concentrate on the following testing tricks:

  • Unit testing: to confirm that every units of code (mostly functions) work as expected.
  • Integration testing: to test that multiple units of code properly to give the general required functionalities.
  • User-oriented testing: to make sure that functionalities and modalities of relations described in the Specification document or in the User Manual do definitely function as estimated.
  • Stress testing: to check whether the execution is robust enough to hold extreme use (e.g., manages great inputs) while requiring adequate resources that are memory and time.

For each test case, a concise explanation should be provided to inspire it. Then, the test should be précised, as a test driver, a textual input to the plan, an order of user clicks in a descriptive interface, etc. Finally, the desired outcome should be clearly declared, so that a tester can know whether the test accepted or not.

Unit Testing:

Unit testing plan should specify, for every key class and every method in that class, the set of real tests that will be run. As for example, an algorithm that sorts the elements of a set on which there is an obligatory total order, one might want the following test cases:

  • An unfilled set.
  • A set by means of merely one constituent.
  • A “characteristic set” not by now prearranged (though the rudiments of a set are intrinsically existing in some order to the analytical form).
  • All the equipped Characteristic Set may be used.
  • A “characteristic set” in overturn arrange.
  • A set with neighboring replica rudiments (once more, this is significant pretentious that the set is précised by presenting its rudiments in some collection or connected list).
  • A set with non-contiguous replica rudiments.

In the majority cases, it also makes logic to test a class or a function for wrong inputs. As for example: What will be happened if the input to a function should be a tree with run time allocated nodes linked by pointers, but the function is instead called on an input which is a Directed acyclic graph or, of poorer quality yet, holds a chain. Since possibly not all wrong given values require to be manage elegantly (in the former example, it possibly will be proper for the function not to finish if the input has a sequence), it is very vital for the test plan to document what happens for the dissimilar classes of incorrect inputs.

Though Unit testing is by essential performed on a part of the code, it generally needs a test driver or test control to call the methods or function under test in a restricted way, with the required input, and, if probable, check the predictable output automatically.

Integration Testing:

The plan for Integration testing can be incremental, that is, one may want to test more and more large subsets of interacting data algorithms and structures, starting from a few linked ones, up to the whole program. This way, while the embattled code base for incorporation testing becomes gradually more bigger, the essential test connect may really contract simpler, as the surroundings requisite to test assured portions of the code does not have to be particular in a test connect, but it is actually the code itself (this is positively the case in the final incorporation testing, where the only task mandatory of the connect is to give input cases to the generally program and to obtain the estimated outputs from it).

During Integration testing, one of the aspects that should be thoroughly tested is that the interfaces between interacting modules are properly used, or, in additional words, that each method or function is invoked by its callers with parameters that esteem the necessary assumptions.

User-oriented Testing:

This piece of the Test Plan can also be combined with the ultimate section of the plan for Integration testing, as they both address the test of the general software. However, the two intend at dissimilar goals, as their names propose. Integration tests, yet when addressing on the whole software product, still aim prospective errors that happen when several software functionalities or groups of functionalities interrelate, so it is leaning to discover internal execution errors. User-oriented testing, in the place of, aims at exercising the general software product to help guarantee that the user can relate with the software as explain (firstly, as directed in the User guide, which should be formerly reachable at this phase, at least in some rough form).

Obviously, when this type test fails, it may still tip out an inner error, just as an addition test does, but it may also, instead, find out that an essential feature was misunderstood or even fully ignored and not implemented at all.

Stress Testing:

This piece of the Test Plan addresses the scalability and heftiness of your software with respect to input or difficult size. Several Stress testing can be previously performed as part of Unit testing.

As for example, going backside to the sorting algorithm, one may want to execute Stress testing using the following test cases:

  • An extremely big set that should still fit in main memory.
  • An even bigger set that will not fit in main memory.

Template of Test Plan:

The set-up and substance of a software test plan differ depending on the processes, values, and test managing tools being implemented. However, the subsequent set-up, which is based on IEEE standard for software test credentials, provides an abstract of what a test plan should contain.

Test Plan Identifier:

  • Gives an exceptional identifier for the file.


  • Gives an outline of the test plan.
  • Identify the objectives.
  • Identify any constraints.


Listing the interrelated documents, with links to them if existing, counting the subsequent:

  • Plan of the project
  • Management plan for configuration

Test Items:

  • Record the test objects and their versions.

Features should be tested:

  • Listing the features of the software to be tested.
  • Give references to the necessities and/or Design condition of the features to be tested

Features which not to be tested:

  • Record the features of the software which would not be tested.
  • Identify the causes for which these features won’t be tested.


  • State the general advance to testing.
  • Identify the levels of testing [for a Master Test Plan], the types of testing, and the testing methods [e.g. Manual or Automated; White Box or Black Box or Gray Box]

Pass/Fail Criteria:

  • Identify the criteria that will be used to establish whether every test entry has passed or failed testing.
Suspension and Resumption Requirements:
  • Identify criteria to be used to suspend the testing action.
  • Identify testing actions which have to be redone when testing is resumed.
Test Deliverables:

Listing the test deliverables, and links into them if existing, with the following:

  • Test Plan
  • Test Cases
  • Test Scripts
  • Enhancement/ Defect Logs
  • Test Reports

Test Situation:

  • Identify the properties of test situation (e.g. hardware, software, network etc.)
  • Listing some testing or correlated tools.


  • Offers a review of test estimates (effort/ cost) and/or supply a link to the full estimation.


  • Give an abstract of the schedule, specifying key in test milestones, and/or give a link to the complete schedule.

Needs to Staffing and Training:

  • Identify staffing requirements by function and necessary skills.


  • Listing the responsibilities of every role.


  • Listing the risks that have been recognized.
  • Identify the alleviation plan and the eventuality plan for all risk.
Assumptions and Dependencies of test plan:
  • Listing the assumptions that have made at the time of the preparation of this plan.
  • Listing the all dependencies.
  • Identify the roles and names of all persons who have to approve the plan.
  • Supply space for signatures and dates.

Guidelines of Test Plan

  • Make the plan brief. Keep away from redundancy. Imagine you do not require a part that has been mentioned in the template above, go forward and delete that part in your test plan.
  • Wherever possible make use of lists and tables. Keep away from long paragraphs.
  • Having the test plan reviewed a number of times greater to base lining it or transfer it for sanction. The value of your test plan speaks volumes about the value of the testing you or your team is departing to execute.
  • Revise the plan when needed. An obsolete and idle document stinks and is poorer than not having the document in the initial position.


To conclude the discussion, we can say that knowing test plan writing and test guidelines help to achieve the perfectness of the application. So a rigorous test plan should be prepared to make any software application successful. It is simple to notice how test plans are a significant and reasonable part of performing experimentation. They save time and money, support in receiving the most excellent outcome and can make possible quick test statement writing. Hope you have got a good understanding about the test plan writing and can prepare your own.

Website: Have 16 years of experience as a technical architect and software consultant in enterprise application and product development. Have interest in new technology and innovation area along with technical...

What did you think of this post?
To have full access to this post (or download the associated files) you must have MrBool Credits.

  See the prices for this post in Mr.Bool Credits System below:

Individually – in this case the price for this post is US$ 0,00 (Buy it now)
in this case you will buy only this video by paying the full price with no discount.

Package of 10 credits - in this case the price for this post is US$ 0,00
This subscription is ideal if you want to download few videos. In this plan you will receive a discount of 50% in each video. Subscribe for this package!

Package of 50 credits – in this case the price for this post is US$ 0,00
This subscription is ideal if you want to download several videos. In this plan you will receive a discount of 83% in each video. Subscribe for this package!

> More info about MrBool Credits
You must be logged to download.

Click here to login