How to generate test cases for "replace a string" method?
a) If characters in new string > characters in the previous string. None of the characters should get truncatedb) If characters in new string< characters in the previous string. Junk characters should not be addedc) Spaces after and before the string should not be deletedd) String should be replaced only for the first occurrence of the string
What is Fuzz testing and when it is used?
Fuzz testing is used to detect security loopholes and coding errors in software. In this technique, random data is added to the system in an attempt to crash the system. If vulnerability persists, a tool called fuzz tester is used to determine potential causes. This technique is more useful for bigger projects but only detects a major fault.
Explain what N+1 testing is?
The variation of regression testing is represented as N+1. In this technique, the testing is performed in multiple cycles in which errors found in test cycle 'N' are resolved and re-tested in test cycle N+1. The cycle is repeated unless there are no errors found.
Explain what LCSAJ is?
LCSAJ stands for 'linear code sequence and jump.' It consists of the following three itemsa) Start of the linear sequence of executable statementsb) End of the linear sequencec) The target line to which control flow is transferred at the end of the linear sequence
Explain what is "Test Plan Driven" or "Key Word Driven" method of testing?
This technique uses the actual test case document developed by testers using a spreadsheet containing special "key Words". The key words control the processing.
What is the step you would follow once you find the defect?
Once a defect is found you would follow the stepa) Recreate the defectb) Attach the screenshotc) Log the defect
In manual testing what are stubs and drivers?
Both stubs and drivers are part of incremental testing. In incremental testing, there are two approaches namely bottom-up and top-down approach. Drivers are used in bottom-up testing and stub is used for a top-down approach. In order to test the main module, the stub is used, which is a dummy code or program.
When is RTM (Requirement Traceability Matrix) prepared?
RTM is prepared before test case designing. Requirements should be traceable from review activities.
What are the best practices for software quality assurance?
The best practices for an effective SQA implementation isContinuous ImprovementDocumentationTool UsageMetricsResponsibility by team membersExperienced SQA auditors
What does a typical test report contain? What are the benefits of test reports?
A test report contains the following things:Project InformationTest ObjectiveTest SummaryDefect