1.

What is slice splicing in software testing? What are its two types?

Answer»

A PROGRAM SLICE is a set of program statements. We could code a slice and test it right away if we chose to construct software in terms of compatible slices. We can then code and test additional slices before combining them into good software. Slice splicing is the term for this process.

There are two forms of slicing: static and dynamic.

Static Slicing: 

  • A static slice of a program contains all statements that may change the value of a variable at any POINT during any arbitrary execution of the program.
  • In general, static slices are larger.
  • It considers every potential program execution.

Dynamic slicing: 

  • A dynamic slice of a program is made up of all the statements that ACTUALLY impact the value of a variable at any point for a specific execution of the program.
  • In general, dynamic slices are smaller.
  • Only takes into account a particular program execution.


Discussion

No Comment Found