
JUnit Quiz
Quiz
•
Computers
•
KG
•
Hard
Brian Goodrich
FREE Resource
Enhance your content in a minute
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of the following would be used to denote a test fixture?
@Before
@Test
@Getter
@Help
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of the following accurately describes an assertion?
Sets up objects before each test
Will be ran after each test
Tells you if your test was successful
A library
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is needed to set a method as a test in JUnit?
@Before
assertEquals
assertThat
@Test
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is JUnit?
A library that automatically tests your functions
A built in Java library
A testing framework for Java
Where am I
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of these would be a matcher provided by the Hamcrest library?
assertNotNull
assertNotEquals
assertThat
equalTo
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What command would you use to run your test suite with maven?
maven test
npm run test
mvn test
run test
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the file called that we include dependencies like JUnit in when using maven?
node_modules
pom.xml
test
pom.html
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Java Control Flow statements
Quiz
•
University
10 questions
Software Testing
Quiz
•
University
10 questions
adobe flash
Quiz
•
7th Grade
10 questions
Introduction to Computer
Quiz
•
Professional Development
10 questions
python
Quiz
•
10th Grade
12 questions
Robot C Quiz
Quiz
•
7th Grade
10 questions
delet11
Quiz
•
10th - 12th Grade
10 questions
HARDWARE TROUBLESHOOTING
Quiz
•
1st Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Computers
20 questions
Place Value
Quiz
•
KG - 3rd Grade
6 questions
3.3 Magnets
Quiz
•
KG
20 questions
Ch. 7 Quadrilateral Quiz Review
Quiz
•
KG - University
12 questions
HOMOPHONES
Lesson
•
KG - 4th Grade
10 questions
Long i- igh, ie, and y Quiz
Quiz
•
KG - 3rd Grade
12 questions
Quarter Past, Half Past, and Quarter To
Quiz
•
KG - 12th Grade
20 questions
Capitalization in sentences
Quiz
•
KG - 4th Grade
14 questions
Reference Sources
Lesson
•
KG - 3rd Grade
