Software_testing

context: As the number of possible tests for even simple software components is practically infinite, all software testing uses some strategy to select tests that are feasible for the available time and resources. As a result, software testing typically (but not exclusively) attempts to execute a program or application with the intent of finding software bugs (errors or other defects). The job of testing is an iterative process as when one bug is fixed, it can illuminate other, deeper bugs, or can even create new ones.
qas: answers: text: finding software bugs
question: What is the purpose of testing software?

answers: text: tests for even simple software components is practically infinite
question: Why is it so difficult to locate bugs in software?

answers: text: it can illuminate other, deeper bugs,
question: What can come from one bug being fixed?

context: Although testing can determine the correctness of software under the assumption of some specific hypotheses (see hierarchy of testing difficulty below), testing cannot identify all the defects within software. Instead, it furnishes a criticism or comparison that compares the state and behavior of the product against oracles—principles or mechanisms by which someone might recognize a problem. These oracles may include (but are not limited to) specifications, contracts, comparable products, past versions of the same product, inferences about intended or expected purpose, user or customer expectations, relevant standards, applicable laws, or other criteria.
qas: answers: text: all the defects
question: What can testing not completely find?

answers: text: furnishes a criticism or comparison
question: While looking for bugs, what else can testing do?

answers: text: oracles—principles or mechanisms
question: What does the software compare during testing against?

answers: text: specifications, contracts, comparable products, past versions
question: What make up the oracle during testing?

context: A primary purpose of testing is to detect software failures so that defects may be discovered and corrected. Testing cannot establish that a product functions properly under all conditions but can only establish that it does not function properly under specific conditions. The scope of software testing often includes examination of code as well as execution of that code in various environments and conditions as well as examining the aspects of code: does it do what it is supposed to do and do what it needs to do. In the current culture of software development, a testing organization may be separate from the development team. There are various roles for testing team members. Information derived from software testing may be used to correct the process by which software is developed.
qas: answers: text: to detect software failures
question: What is the primamry reason for testing software?

answers: text: cannot establish that a product functions properly under all conditions
question: What can testing software not fully completely establish?

answers: text: examination of code as well as execution of that code
question: What does the scope of testing the software also look at?

answers: text: testing organization may be separate from the development team
question: Which two teams would you normally separate when writing and testing software?

context: Software faults occur through the following processes. A programmer makes an error (mistake), which results in a defect (fault, bug) in the software source code. If this defect is executed, in certain situations the system will produce wrong results, causing a failure. Not all defects will necessarily result in failures. For example, defects in dead code will never result in failures. A defect can turn into a failure when the environment is changed. Examples of these changes in environment include the software being run on a new computer hardware platform, alterations in source data, or interacting with different software. A single defect may result in a wide range of failure symptoms.
qas: answers: text: programmer makes an error
question: What is the first step that leads to a software failure?

answers: text: defect (fault, bug)
question: What is the result of the programmer making a mistake?

answers: text: run on a new computer hardware platform
question: When can software defects in dead code cause problems?

context: A fundamental problem with software testing is that testing under all combinations of inputs and preconditions (initial state) is not feasible, even with a simple product.:17-18 This means that the number of defects in a software product can be very large and defects that occur infrequently are difficult to find in testing. More significantly, non-functional dimensions of quality (how it is supposed to be versus what it is supposed to do)—usability, scalability, performance, compatibility, reliability—can be highly subjective; something that constitutes sufficient value to one person may be intolerable to another.
qas: answers: text: testing under all combinations of inputs and preconditions (initial state) is not feasible
question: What is the primary issue with running software testing?

answers: text: defects that occur infrequently
question: What types of software bugs are difficult to find during testing?

answers: text: usability, scalability, performance, compatibility, reliability
question: What other non-functional dimensions can cause software to underperform and cause other problems?

context: Software developers can't test everything, but they can use combinatorial test design to identify the minimum number of tests needed to get the coverage they want. Combinatorial test design enables users to get greater test coverage with fewer tests. Whether they are looking for speed or test depth, they can use combinatorial test design methods to build structured variation into their test cases. Note that "coverage", as used here, is referring to combinatorial coverage, not requirements coverage.
qas: answers: text: use combinatorial test design
question: Although software developers are unable to test everything, what do they run to keep the testing to a minimum? 

answers: text: get greater test coverage with fewer tests
question: What does the use of combinatorial testing consist of?

answers: text: speed or test depth
question: What two types of testing are involved with combinatorial testing as mentioned here?

context: It is commonly believed that the earlier a defect is found, the cheaper it is to fix it. The following table shows the cost of fixing the defect depending on the stage it was found. For example, if a problem in the requirements is found only post-release, then it would cost 10–100 times more to fix than if it had already been found by the requirements review. With the advent of modern continuous deployment practices and cloud-based services, the cost of re-deployment and maintenance may lessen over time.
qas: answers: text: the earlier a defect is found
question: What determines the cost of fixing a bug?

answers: text: 10–100 times more
question: Ho many more times would the cost be if the problem is found after the software's release?

answers: text: cloud-based services
question: What could possibly lessen the cost of fixing buggy software?

context: There are many approaches available in software testing. Reviews, walkthroughs, or inspections are referred to as static testing, whereas actually executing programmed code with a given set of test cases is referred to as dynamic testing. Static testing is often implicit, as proofreading, plus when programming tools/text editors check source code structure or compilers (pre-compilers) check syntax and data flow as static program analysis. Dynamic testing takes place when the program itself is run. Dynamic testing may begin before the program is 100% complete in order to test particular sections of code and are applied to discrete functions or modules. Typical techniques for this are either using stubs/drivers or execution from a debugger environment.
qas: answers: text: Reviews, walkthroughs, or inspections
question: Name three approaches software testers take when testing their software?

answers: text: dynamic testing
question: What is the term that is used to described executing programmed code with a given set of test?

answers: text: before the program is 100% complete
question: When can dynamic testing occur?

answers: text: stubs/drivers or execution from a debugger environment
question: What are commonly used techniques during dynamic testing?

context: White-box testing (also known as clear box testing, glass box testing, transparent box testing and structural testing, by seeing the source code) tests internal structures or workings of a program, as opposed to the functionality exposed to the end-user. In white-box testing an internal perspective of the system, as well as programming skills, are used to design test cases. The tester chooses inputs to exercise paths through the code and determine the appropriate outputs. This is analogous to testing nodes in a circuit, e.g. in-circuit testing (ICT).
qas: answers: text: clear box testing
question: What is another term used for White-box testing?

answers: text: by seeing the source code
question: What is involved with White-box testing?

answers: text: testing an internal perspective of the system, as well as programming skills
question: Which two procedures are used to design test cases in White-box testing?

context: Black-box testing treats the software as a "black box", examining functionality without any knowledge of internal implementation, without seeing the source code. The testers are only aware of what the software is supposed to do, not how it does it. Black-box testing methods include: equivalence partitioning, boundary value analysis, all-pairs testing, state transition tables, decision table testing, fuzz testing, model-based testing, use case testing, exploratory testing and specification-based testing.
qas: answers: text: seeing the source code
question: What is the main difference between black-box testing and white-box testing?

answers: text: aware of what the software is supposed to do
question: What are the software testers aware of?

answers: text: equivalence partitioning, boundary value analysis
question: What are the first three methods mentioned that make up black-box testing??

context: Specification-based testing aims to test the functionality of software according to the applicable requirements. This level of testing usually requires thorough test cases to be provided to the tester, who then can simply verify that for a given input, the output value (or behavior), either "is" or "is not" the same as the expected value specified in the test case. Test cases are built around specifications and requirements, i.e., what the application is supposed to do. It uses external descriptions of the software, including specifications, requirements, and designs to derive test cases. These tests can be functional or non-functional, though usually functional.
qas: answers: text: Specification-based testing
question: What term is used to test functionality of the software accordingly with the application requirements?

answers: text: specifications and requirements
question: What are the test cases built around?

answers: text: functional
question: When building test cases which of the two methods used is more common over the other?

context: One advantage of the black box technique is that no programming knowledge is required. Whatever biases the programmers may have had, the tester likely has a different set and may emphasize different areas of functionality. On the other hand, black-box testing has been said to be "like a walk in a dark labyrinth without a flashlight." Because they do not examine the source code, there are situations when a tester writes many test cases to check something that could have been tested by only one test case, or leaves some parts of the program untested.
qas: answers: text: no programming knowledge is required
question: What is one huge advantage to using the black-box method?

answers: text: like a walk in a dark labyrinth without a flashlight.
question: What can black-box testing sometimes be referred to with the in-ability to see the code?

answers: text: tester likely has a different set and may emphasize different areas of functionality
question: What is a good reason to have testers and developers separate?

context: Grey-box testing (American spelling: gray-box testing) involves having knowledge of internal data structures and algorithms for purposes of designing tests, while executing those tests at the user, or black-box level. The tester is not required to have full access to the software's source code.[not in citation given] Manipulating input data and formatting output do not qualify as grey-box, because the input and output are clearly outside of the "black box" that we are calling the system under test. This distinction is particularly important when conducting integration testing between two modules of code written by two different developers, where only the interfaces are exposed for test.
qas: answers: text: having knowledge of internal data structures and algorithms
question: What does grey-box testing involve?

answers: text: not required to have full access to the software's source code
question: What does a grey-box tester not need to run their test?

answers: text: Manipulating input data and formatting output
question: What does not qualify as grey-box testing?

context: By knowing the underlying concepts of how the software works, the tester makes better-informed testing choices while testing the software from outside. Typically, a grey-box tester will be permitted to set up an isolated testing environment with activities such as seeding a database. The tester can observe the state of the product being tested after performing certain actions such as executing SQL statements against the database and then executing queries to ensure that the expected changes have been reflected. Grey-box testing implements intelligent test scenarios, based on limited information. This will particularly apply to data type handling, exception handling, and so on.
qas: answers: text: intelligent test scenarios
question: What does a grey-box tester implement when they have limited information?

answers: text: an isolated testing environment
question: What dopes a typical grey-box tester sets up?

answers: text: SQL statements
question: What does the tester execute while performing certain actions?

context: There are generally four recognized levels of tests: unit testing, integration testing, component interface testing, and system testing. Tests are frequently grouped by where they are added in the software development process, or by the level of specificity of the test. The main levels during the development process as defined by the SWEBOK guide are unit-, integration-, and system testing that are distinguished by the test target without implying a specific process model. Other test levels are classified by the testing objective.
qas: answers: text: unit testing, integration testing, component interface testing, and system testing
question: What are the four recognized levels of testing software?

answers: text: software development process, or by the level of specificity of the test
question: What are these test (level testing) typically grouped by?

answers: text: unit-, integration-, and system testing
question: What is defined in the SWEBOK guide as to testing the main levels?

answers: text: the testing objective
question: What are the other levels classified by?

context: Unit testing is a software development process that involves synchronized application of a broad spectrum of defect prevention and detection strategies in order to reduce software development risks, time, and costs. It is performed by the software developer or engineer during the construction phase of the software development lifecycle. Rather than replace traditional QA focuses, it augments it. Unit testing aims to eliminate construction errors before code is promoted to QA; this strategy is intended to increase the quality of the resulting software as well as the efficiency of the overall development and QA process.
qas: answers: text: reduce software development risks, time, and costs
question: What is the main reasoning behind Unit testing that involves synchronization of the application on a broad spectrum? 

answers: text: software developer or engineer
question: Who performs the Unit testing phase?

answers: text: construction errors
question: What does Unit testing look to eliminate?

answers: text: increase the quality of the resulting software
question: By elimination construction errors, what is the expected end result?

context: The practice of component interface testing can be used to check the handling of data passed between various units, or subsystem components, beyond full integration testing between those units. The data being passed can be considered as "message packets" and the range or data types can be checked, for data generated from one unit, and tested for validity before being passed into another unit. One option for interface testing is to keep a separate log file of data items being passed, often with a timestamp logged to allow analysis of thousands of cases of data passed between units for days or weeks. Tests can include checking the handling of some extreme data values while other interface variables are passed as normal values. Unusual data values in an interface can help explain unexpected performance in the next unit. Component interface testing is a variation of black-box testing, with the focus on the data values beyond just the related actions of a subsystem component.
qas: answers: text: component interface testing
question: What is it called to check data passed between units?

answers: text: message packets
question: What is it called when data is being passed?

answers: text: keep a separate log file of data items being passed
question: What is an option  of component interface testing  used while sending message packets?

answers: text: Component interface testing
question: What is a variation of black-box testing?

context: Operational Acceptance is used to conduct operational readiness (pre-release) of a product, service or system as part of a quality management system. OAT is a common type of non-functional software testing, used mainly in software development and software maintenance projects. This type of testing focuses on the operational readiness of the system to be supported, and/or to become part of the production environment. Hence, it is also known as operational readiness testing (ORT) or Operations readiness and assurance (OR&A) testing. Functional testing within OAT is limited to those tests which are required to verify the non-functional aspects of the system.
qas: answers: text: Operational Acceptance
question: What is the term used to test software during a pre-release?

answers: text: operational readiness of the system
question: What does Operational Acceptance focus on?

answers: text: limited to those tests which are required to verify the non-functional aspects of the system
question: What is Operational Acceptance limited to while testing?

context: A common cause of software failure (real or perceived) is a lack of its compatibility with other application software, operating systems (or operating system versions, old or new), or target environments that differ greatly from the original (such as a terminal or GUI application intended to be run on the desktop now being required to become a web application, which must render in a web browser). For example, in the case of a lack of backward compatibility, this can occur because the programmers develop and test software only on the latest version of the target environment, which not all users may be running. This results in the unintended consequence that the latest work may not function on earlier versions of the target environment, or on older hardware that earlier versions of the target environment was capable of using. Sometimes such issues can be fixed by proactively abstracting operating system functionality into a separate program module or library.
qas: answers: text: compatibility with other application software
question: What is the most common reason for software failure?

answers: text: lack of backward compatibility
question: What do developers commonly do when creating software that can lead to failures?

answers: text: lack of its compatibility with other application software
question: What is the most common cause for software failure?

answers: text: a lack of backward compatibility
question: What often lacks in software developed when its released that can eventually lead to errors?

answers: text: test software only on the latest version of the target environment
question: What does backwards compatibility always seem to be the cause of errors and bugs after a release?

context: Regression testing focuses on finding defects after a major code change has occurred. Specifically, it seeks to uncover software regressions, as degraded or lost features, including old bugs that have come back. Such regressions occur whenever software functionality that was previously working correctly, stops working as intended. Typically, regressions occur as an unintended consequence of program changes, when the newly developed part of the software collides with the previously existing code. Common methods of regression testing include re-running previous sets of test-cases and checking whether previously fixed faults have re-emerged. The depth of testing depends on the phase in the release process and the risk of the added features. They can either be complete, for changes added late in the release or deemed to be risky, or be very shallow, consisting of positive tests on each feature, if the changes are early in the release or deemed to be of low risk. Regression testing is typically the largest test effort in commercial software development, due to checking numerous details in prior software features, and even new software can be developed while using some old test-cases to test parts of the new design to ensure prior functionality is still supported.
qas: answers: text: Regression testing
question: Finding defects once a change in code had already happened is called?

answers: text: stops working as intended
question: What happens to software after a major change in code that leads to regression??

answers: text: re-running previous sets of test-cases
question: What is a common method used during regression testing?

answers: text: phase in the release process and the risk of the added features
question: What determines how deep a tester will go during regression?

answers: text: typically the largest test effort in commercial software development
question: If changes need to occur during the softwares early release with regression testing how much of an impact does this have on the team as related to other testing? 

context: Beta testing comes after alpha testing and can be considered a form of external user acceptance testing. Versions of the software, known as beta versions, are released to a limited audience outside of the programming team known as beta testers. The software is released to groups of people so that further testing can ensure the product has few faults or bugs. Beta versions can be made available to the open public to increase the feedback field to a maximal number of future users and to deliver value earlier, for an extended or even indefinite period of time (perpetual beta).[citation needed]
qas: answers: text: Beta testing
question: What typically comes after the Alpha stage in the development and testing of software?

answers: text: limited audience outside of the programming
question: To whom is the beta testing released to?

answers: text: perpetual beta
question: What is it called when a public test continues indefinitely?

context: Destructive testing attempts to cause the software or a sub-system to fail. It verifies that the software functions properly even when it receives invalid or unexpected inputs, thereby establishing the robustness of input validation and error-management routines.[citation needed] Software fault injection, in the form of fuzzing, is an example of failure testing. Various commercial non-functional testing tools are linked from the software fault injection page; there are also numerous open-source and free software tools available that perform destructive testing.
qas: answers: text: Destructive testing
question: What method is used to cause a system to fail?

answers: text: software functions properly even when it receives invalid or unexpected inputs
question: What does Destructive testing verify?

answers: text: Software fault injection
question: What is one example of failure testing?

context: Load testing is primarily concerned with testing that the system can continue to operate under a specific load, whether that be large quantities of data or a large number of users. This is generally referred to as software scalability. The related load testing activity of when performed as a non-functional activity is often referred to as endurance testing. Volume testing is a way to test software functions even when certain components (for example a file or database) increase radically in size. Stress testing is a way to test reliability under unexpected or rare workloads. Stability testing (often referred to as load or endurance testing) checks to see if the software can continuously function well in or above an acceptable period.
qas: answers: text: Load testing
question: What method is used to test software under a specific load?

answers: text: data or a large number of users
question: What two methods can be used when using Load Testing?

answers: text: Volume testing
question: What is called to test software functions when certain components increase in side?

answers: text: endurance testing
question: What is Stable testing also called?

answers: text: Stress testing
question: What method is used to test components under unexpected workloads?

context: Development Testing is a software development process that involves synchronized application of a broad spectrum of defect prevention and detection strategies in order to reduce software development risks, time, and costs. It is performed by the software developer or engineer during the construction phase of the software development lifecycle. Rather than replace traditional QA focuses, it augments it. Development Testing aims to eliminate construction errors before code is promoted to QA; this strategy is intended to increase the quality of the resulting software as well as the efficiency of the overall development and QA process.
qas: answers: text: Development Testing
question: What method is used that involves synchronization of a application?

answers: text: construction phase of the software development lifecycle
question: When is development testing used?

answers: text: construction errors
question: What does Development testing look to eliminate?

context: In contrast, some emerging software disciplines such as extreme programming and the agile software development movement, adhere to a "test-driven software development" model. In this process, unit tests are written first, by the software engineers (often with pair programming in the extreme programming methodology). Of course these tests fail initially; as they are expected to. Then as code is written it passes incrementally larger portions of the test suites. The test suites are continuously updated as new failure conditions and corner cases are discovered, and they are integrated with any regression tests that are developed. Unit tests are maintained along with the rest of the software source code and generally integrated into the build process (with inherently interactive tests being relegated to a partially manual build acceptance process). The ultimate goal of this test process is to achieve continuous integration where software updates can be published to the public frequently.  
qas: answers: text: extreme programming and the agile software development
question: Which two current movements adhere to the "test-driven software development"?

answers: text: unit tests are written first
question: Under the development of agile software and extreme programing what is written first?

answers: text: achieve continuous integration where software updates can be published to the public frequently
question: What is the goal of Unit testing?

context: Bottom Up Testing is an approach to integrated testing where the lowest level components (modules, procedures, and functions) are tested first, then integrated and used to facilitate the testing of higher level components. After the integration testing of lower level integrated modules, the next level of modules will be formed and can be used for integration testing. The process is repeated until the components at the top of the hierarchy are tested. This approach is helpful only when all or most of the modules of the same development level are ready.[citation needed] This method also helps to determine the levels of software developed and makes it easier to report testing progress in the form of a percentage.[citation needed]
qas: answers: text: modules, procedures, and functions
question: What three components make up Bottom Up Testing?

answers: text: the testing of higher level components
question: Bottom Up Testing helps facilitate the testing of what?

answers: text: makes it easier to report testing progress in the form of a percentage
question: What does Bottom Up Testing also help with once the process has been repeated over and over again at all levels?

context: It has been proved that each class is strictly included into the next. For instance, testing when we assume that the behavior of the implementation under test can be denoted by a deterministic finite-state machine for some known finite sets of inputs and outputs and with some known number of states belongs to Class I (and all subsequent classes). However, if the number of states is not known, then it only belongs to all classes from Class II on. If the implementation under test must be a deterministic finite-state machine failing the specification for a single trace (and its continuations), and its number of states is unknown, then it only belongs to classes from Class III on. Testing temporal machines where transitions are triggered if inputs are produced within some real-bounded interval only belongs to classes from Class IV on, whereas testing many non-deterministic systems only belongs to Class V (but not all, and some even belong to Class I). The inclusion into Class I does not require the simplicity of the assumed computation model, as some testing cases involving implementations written in any programming language, and testing implementations defined as machines depending on continuous magnitudes, have been proved to be in Class I. Other elaborated cases, such as the testing framework by Matthew Hennessy under must semantics, and temporal machines with rational timeouts, belong to Class II.
qas: answers: text: Class II
question: If the number of states is unknown, what group does this fall into?

answers: text: each class is strictly included into the next
question: There are three classes, what has been concluded and proven for all classes?

answers: text: Class III
question: If the number of states are unknown and the finite state of the machine is failing for a single trace, which group does this fall into?

context: Several certification programs exist to support the professional aspirations of software testers and quality assurance specialists. No certification now offered actually requires the applicant to show their ability to test software. No certification is based on a widely accepted body of knowledge. This has led some to declare that the testing field is not ready for certification. Certification itself cannot measure an individual's productivity, their skill, or practical knowledge, and cannot guarantee their competence, or professionalism as a tester.
qas: answers: text: requires the applicant to show their ability to test software
question: With several certifications out there that can be aquired, what is the one trait they all share?

answers: text: testing field is not ready for certification
question: What has the inability for the applicant to show how well they test led to?

answers: text: individual's productivity, their skill, or practical knowledge
question: What four traits can a certification not measure?

context: Software testing is a part of the software quality assurance (SQA) process.:347 In SQA, software process specialists and auditors are concerned for the software development process rather than just the artifacts such as documentation, code and systems. They examine and change the software engineering process itself to reduce the number of faults that end up in the delivered software: the so-called "defect rate". What constitutes an "acceptable defect rate" depends on the nature of the software; A flight simulator video game would have much higher defect tolerance than software for an actual airplane. Although there are close links with SQA, testing departments often exist independently, and there may be no SQA function in some companies.[citation needed]
qas: answers: text: Software testing
question: What makes up part of the SQA?

answers: text: software development process
question: What is the primary concern for the software specialist and auditors?

answers: text: video game
question: What type of software would have a better defect tolerance?