Centralized System store all the files in a central repo. As developers make changes,
they are immediately sent to the centralized repo and made available to the whole team.
Decentralized System also have a central repo with all the files, but changes made by
individual developers are not immediately sent to the main repo. Each developer has a
mini VCS on his or her local machine where changes can be committed without being
made available to the team. This allows for developers to work on features individually
and only push the changes to the central repo when read
What phases does testing take place? Verification
Maintenance
Design
Implementation
What happens during the Requirements phase? Interviews with stakeholders
Craft user stories and user cases
Given the following scenario, identify if it would best be tested manually or with an
automated system.
You want to ensure developers verify their code doesn't break existing features before
adding it to the centralized repository. Automated
Which of the following are examples of Non-functional Testing? Performance testing
Scalability testing
The Therac-25 machine was used for radiation therapy in the 1980's. It had two modes
of radiation: low and high. During the accidents, the machine would incorrectly display
the machine was set to low power when in fact it was configured for high power. What
caused this deadly situation? The technician input commands very quickly
A Failure occurs because of a "bug" in the code: a fault True
An Error is a deviation from the expected behavior False
A fault is a mistake False
The following are examples of Functional Testing Regression testing
Unit testing
You can create a test class by right clicking on the name of the function/class. True
, Identify the 4 elements to a testing framework. Test runner
Test case
Test fixture
Test suite
What is the testing framework we use in this course? Unittest
Each unittest test case must include at least one ________. Assertion
Unit Testing is when the smallest component of a software system is verified to produce
the expected behavior. True
Failure Failure - a deviation from the expected behavior
These failures occur because there exists a "bug" in the code: a fault.
Fault an instance of incorrect code that can lead to a failure
A fault is introduced to the program when a programmer makes a mistake: an error.
Error a mistake that introduces a fault (e.g. typo and conceptual misunderstanding)
Manual testing Pros
Intuitive
No upfront cost
Cons
Time consuming
We are human
Not easily repeatable
Automated testing Pros
Easy to repeat
Fewer mistakes
Very efficient
Cons
High upfront cost
Not suited for everything
Test maintenance
Black box testing is when you write tests based purely on the description provided for
the software
Pros of black box testing Focuses on the input domain for the softwareAllows targeted
testing of possible inputs
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller smartchoices. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $10.49. You're not tied to anything after your purchase.