Categories

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

What is Dynamic Unit Testing?

Dynamic unit testing shares a part of the verification and validation process with static unit testing. These two testing methodologies are complementary to each other.

About Dynamic Unit Testing

– Dynamic unit testing is related to the explanation of how the software behaves dynamically.
– Dynamic variables drives the whole dynamic unit testing.
– Dynamic unit testing can be defined as the process testing the behavior or the response of a software unit or module towards the dynamic variables.
– These variables are called dynamic since they keep changing with time and so are not constant as compared to static variables in static testing.
– The name itself suggests that the way of testing should be dynamic i.e., the software unit or module should be subjected to compilation and execution as well.
– In order to perform a dynamic test on a unit or module, one needs to put that unit under compilation and execution. – The tester needs to work with the unit along its execution inputting a variety of data values in to the dynamic variables.
– Dynamic unit testing does not end here; it further involves checking that the output so obtained is up to the programmer’s expectation and satisfaction.
– Two categories of output are prepared namely expected outcome and actual outcome and then both are compared.
– Further, it involves checking the input as well as output for validating the program.
– A number of methodologies have been developed for carrying out dynamic unit testing more effectively:
1. Unit testing
2. System testing
3. Integration testing
4. Acceptance testing

– The ideology driving the dynamic unit testing is testing the program while subjecting it to compilation and execution.
– Dynamic testing is the complement of static unit testing and so it is required for compiling and executing the units and modules as a part of the validation process.
– So many methodologies are available today few of which have been mentioned above, you can go with the one that suits you most.

Techniques of Dynamic Unit Testing

Three testing techniques mentioned below are highly involved with dynamic unit testing:
1. Functional Testing Techniques:
– These techniques are involved with designing test cases based on the functioning of the software units or modules.
– A useful point about these techniques is that you do not need to go down in to the details of the software program. – These let you test individual functionality of the units.
– Also, they test the input and output (both expected and output).
– In a way, they help you test the structure of the unit or module for mistakes and flaws.

2. Black Box Testing Techniques:
– A number of black box testing techniques are available few of which we list below:
a) Boundary value analysis
b) State transition testing
c) Cause effect graphing
d) Syntax testing
e) Equivalent partitioning
– The last technique i.e., equivalent partitioning is used for designing test cases that carry out the task of categorizing the inputs as well as the outputs (as per the appropriate specifications) obtained during the execution of the module.
– With this technique, the burden of testing every individual component or unit is reduced greatly since the output that is taken from one component can be taken as representative for the outputs of such similar components.

3. White Box Testing Techniques:
– A number of white box testing methodologies have been developed. Some among them are:
a) Branch condition testing
b) Branch decision testing
c) LCSAJ testing
d) Branch condition combination testing
e) Random testing
f) Data flow testing
g) Modified condition decision testing
h) Random testing
i) Statement testing and so on.
– The last technique mentioned here is also sometimes considered to be a functional testing technique and works great with decomposed software components i.e., the units.

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>