Lệnh nào sau đây dùng để thiết lập giá trị trà về của một đối tượng giả lập

Quiz về JUnit và Mockito

Quiz
•
Fun
•
Professional Development
•
Medium
Khắc Hải
Used 2+ times
FREE Resource
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
onInvokeReturn()
returnValue()
return WhenCalled()
when().thenReturn()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
JUnít chủ yếu được sử dụng để làm gì?
Unit Test
Debug
Tích hợp liên tục
Thiết kế test case
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Làm thế nào có thể mong đợi một ngoại lệ cụ thể được đưa ra trong 1 test case JUnit?
Sử dụng annotation @ExpectException
Sử dụng try-catch
Sử dụng phương thức ExpectException trên đối tượng test
Sử dụng phương thức assert Throws()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Annotation nào được sử dụng để chỉ ra một phương thức là phương thức test trong JUnit
@Testing
@Testify
@TestCase
@Test
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm so khớp Hamcrest nào giống toán tử &&
all
and
any Of
allof
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Việc thực hiện các test case chức năng là một phần của
Quá trình xác minh (verification)
Quá trình báo cáo kết quả test
Quá trình thiết kế cấp cao
Quá trình xác nhận (validation)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Test case Selenium IDE có ba cột: command, target và value. Cột Target lưu trữ dữ liệu gì?
Phần từ hoặc vị trí nơi lệnh được thực thi
Bước tiếp theo
Kết quả thực hiện của 1 bước test
Mục đích của 1 bước test
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Ai là triệu phú?

Quiz
•
Professional Development
20 questions
Game ôn bài 1

Quiz
•
Professional Development
20 questions
Genshin Impact

Quiz
•
Professional Development
20 questions
TTT - BẢO HIỂM ĐỘC LẬP

Quiz
•
Professional Development
23 questions
Kiểm thử phần mềm với Mockito

Quiz
•
Professional Development
24 questions
Quizz

Quiz
•
Professional Development
24 questions
Chicken Game

Quiz
•
Professional Development
15 questions
QUIZIZZ.FLC

Quiz
•
Professional Development
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade