
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
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
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
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
20 questions
Disney Characters
Quiz
•
KG
10 questions
Christmas/Winter
Quiz
•
KG - 2nd Grade
10 questions
Christmas Characters
Quiz
•
KG - 3rd Grade
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Place Value
Quiz
•
KG - 3rd Grade
10 questions
Christmas Movies
Quiz
•
KG - 12th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
KG - 3rd Grade
