Agile Final Exam Latest Update - Exam from Credible Sources with 120 Questions and Verified Correct Answers Golden Ticket to Guaranteed A+ Verified by Professor
@Before - CORRECT ANSWER: Each test typically requires some degree of setup
before it can executed. Any method marked with the @Before annotation will be executed before each test.
import org.junit.Before;
- import org.junit.Test;
- public class MyClassTest {
- private ClassUnderTest classUnderTest = null;
- @Before
- public void setUp() {
- this.classUnderTest = new ClassUnderTest();
3
6
10 } 11 12 @Test 13 public void doATest() { ... } 14 }
@Setup - CORRECT ANSWER: Use the @setup annotation to mark a method to be
run before each test.
- / 3
Accept Responsibilty - CORRECT ANSWER: allow the team to share and accept
responsibilty for a project's success and failure. A person with an interest in a project's success will typically work harder and better to bring that success about.
Accomplishment - CORRECT ANSWER: Allows people to feel that their contributions
are valuable.
Add - CORRECT ANSWER: Places an untracked object in the workspace into the
staging area.
Ant - CORRECT ANSWER: Ant [1] was introduced in 2000.
• Imperative.• Extensible.• XML-based.
Since Ant does nothing by default, you're responsible for everything.
Artifact repositories - CORRECT ANSWER: Nexus and Artifactory are examples of what kind of technology?
artifact repository - CORRECT ANSWER: An artifact repository is software that
intermediates between your build scripts and the internet.
They typically provide additional capabilities like:
• Repository proxying.• Artifact caching.• Artifact blacklisting.• Security and auditing.Two common artifact repositories are Artifactory [5] and Nexus [6].
- / 3
An artifact repository should hold all artifacts, including those built for deployment that will not be used as a dependency of some other artifacts. For
example: WAR, EAR, ZIP and RPM.
It becomes a time machine that contains a complete history of your deployable artifacts.• You should also tag your source code control to ensure that you can regenerate the artifacts as needed.• If the build process exists outside of source code control and has changed since the artifact was built, it can be difficult to reverse engineer it.• Yet another good reason to get everything into source code control.
Before you can start continuous integration, you need three things: - CORRECT
ANSWER: 1. Source code control.
- Automated build scripts.
- Team commitment.
Belonging - CORRECT ANSWER: Group indentification and cohesisveness
Benefits of Source Code Management - CORRECT ANSWER: Recoverability,
Concurrency, Consistency, History
Blob - CORRECT ANSWER: The objects being tracked under Git.
Branching and Merging - CORRECT ANSWER: All Git repositories begin with a branch called "master".
Some of the commands you commonly use with branches include:
• git branch • git checkout
- / 3