Professional Documents
Culture Documents
Unit Testing: In unit testing called components (or communicating components) are
replaced with stubs, simulators, or trusted components. Calling components are
replaced with drivers or trusted super-components. The unit is tested in isolation
Note: The reason for "one or more" as contrasted to "Two or more" is to allow for
components that call themselves recursively.
component testing: the same as unit testing except that all stubs and simulators
are replaced with the real thing.
Integration Testing: This test begins after two or more programs or application
components have been successfully unit tested. It is conducted by the development
team to validate the interaction or communication/flow of information between the
individual components which will be integrated.
poorly documented code - it's tough to maintain and modify code that is badly
written or poorly documented; the result is bugs. In many organizations management
provides no incentive for programmers to document their code or write clear,
understandable, maintainable code. In fact, it's usually the opposite: they get
points mostly for quickly turning out code, and there's job security if nobody
else can understand it ('if it was hard to write, it should be hard to read').
software development tools - visual tools, class libraries, compilers, scripting
tools, etc. often introduce their own bugs or are poorly documented, resulting in
added bugs.
unrealistic schedule - if too much work is crammed in too little time, problems
are inevitable.
inadequate testing - no one will know whether or not the program is any good until
the customer complains or systems crash.
Use Case : It is nothing but user action and system response. It contains the
flows typical flow, alternate flow and exceptional flow. Apart from these it also
has a pre condition and post condition.A usecase describes how a end user uses
specific functionality in the application
12) What is the difference between statement coverage, path coverage and branch
coverage?
Statement coverage measures the number of lines executed.
Path coverage usually means coverage with respect to the set of entry/exit paths
V Model or Life cycle testing involves continuous testing of the system during the
developmental process. At predetermined points, the results of the development
process are inspected to determine the correctness of the implementation. These
inspections identify defects at the earliest possible point.
when the project starts both the system development process and system test
process begins. The team that is developing the system begins the systems
development process and the team that is conducting the system test begins
planning the system test process. Both teams start at the same point using the
same information.
15) What is the difference between Alpha testing and Beta testing?
Typically, software goes through two stages of testing before it is considered
finished. The first stage, called alpha testing, is often performed only by users
within the organization developing the software. The second stage, called beta
testing , generally involves a limited number of external users.
24) What is Concurrent Testing? And how will you perform it?
Multi-user testing geared towards determining the effects of accessing the same
application code, module or database records. Identifies and measures the level of
locking, deadlocking and use of single-threaded code and locking semaphores etc.
25) What is the difference between adhoc testing,monkey testing and exploratory
testing?
Adhoc testing: This Kind of testing dosen't have a any process/test case/Test
senarios defined/preplanned to do it.It involves simultaneous test design and test
execution.
Monkey testing:-monkey testing is a testing that runs with no specific test in
mind. The monkey in this case is the producer of any input data (whether that be
file data, or input device data).
Keep pressing some keys randomely and check whether the software fails or not.
Equivalence Partitioning.
Boundary Value Analysis.
Cause-Effect Graphing.
Error-Guessing.
The White-Box testing techniques are: -
Statement coverage
Decision coverage
Condition coverage
Decision-condition coverage
Multiple condition coverage
Basis Path Testing
Loop testing
Data flow testing
28) What is the difference between bug priority & bug severity?
Priority means how urgently bug is needed to fix
Severity means how badly it harms the system
Priority tells U how Important the bug is.
Severity tells U how bad the bug is.
Severity is constant....whereas priority might change according to schedule
3.Defined - The software process for both management and engineering activities is
documented, standardized, and integrated into a standard software process for the
organization. All projects use an approved, tailored version of the organization's
standard software process for developing and maintaining software.
4. Managed - Detailed measures of the software process and product quality are
collected. Both the software process and products are quantitatively understood
and controlled.
CMMI:
In CMM(aka SW-CMM), the entire emphasis is on the software practices.But Software
is becoming such a large factor in the systems that are being built today that it
is virtually impossible to logically separate the two disciplines.SEI redirected
its effort toward the integration of system and software practices and thus born
cMMI which stands for Capability Maturity Model Integration.You can find on more
info on http://www.sei.cmu.edu/cmmi/
Six Sigma incorporates the basic principles and techniques used in Business,
Statistics, and Engineering. These three form the core elements of Six Sigma. Six
Sigma improves the process performance, decreases variation and maintains
consistent quality of the process output. This leads to defect reduction and
improvement in profits, product quality and customer satisfaction.
Six Sigma experts (Green Belts and Black Belts) evaluate a business process and
determine ways to improve upon the existing process.