Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Scrum PSD Exam - Topic 1 Question 60 Discussion

Posted by Filiberto on May 21, 2024 at 05:54 AM

What is not a desirable characteristics of a unit test?

Test code is as small as possible

Suggested Answer: A, C

They are concerned with everything that needs to happen to create a working increment. And they are self-managing, so resolving conflicts is something they should arrange as well.


Get Premium PSD Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
37 comments · newest first
LA
Latrice 10 months ago
I’m surprised C is even an option.
GL
Glory 11 months ago
D is key for clarity in tests!
BA
Barney 11 months ago
Wait, why would you include the persistence layer?
HA
Han 11 months ago
Totally agree, tests should be independent!
MA
Mayra 11 months ago
C is definitely not desirable.
LO
Lorenza 12 months ago
I’m leaning towards D because making assertions about only one logical concept seems like a good practice for unit tests, but I could be wrong.
AN
Antonio 12 months ago
I feel like I've seen a question like this before, and it seems like including the persistence layer would complicate things. So maybe C is correct?
SA
Samuel 12 months ago
I'm not entirely sure, but I remember something about tests needing to be independent. Could it be B?
RO
Ronnie 1 year ago
I think the answer might be C, since unit tests should ideally not touch the persistence layer, right?
YV
Yvette 1 year ago
Ah, I see now. The key is that a unit test should not include the persistence layer. That's more of an integration test concern. I'll go with C.
ET
Ethan 1 year ago
Okay, let me break this down. A unit test should be small and focused on a single logical concept. I think the answer is D.
NA
Na 1 year ago
I'm pretty sure the answer is C - including the persistence layer is not desirable for a unit test. That's more of an integration test.
LO
Louvenia 1 year ago
Hmm, this one's tricky. I'll need to think carefully about the characteristics of a good unit test.
LE
Leatha 1 year ago
I'm a bit confused on this one. I know unit tests should be fast and independent, but I'm not sure about the other criteria.
VI
Viva 1 year ago
Hmm, I'm a bit unsure about this one. The requirements around network segmentation and security policies are important, but I'm not sure which design steps would be the best approach.
ST
Stephanie 1 year ago
This seems like a straightforward question about government surveillance methods in Singapore. I'll carefully consider each option and try to identify the one that is not a way the government monitors its citizens.
GA
Gayla 1 year ago
Hmm, I'm a bit unsure about the difference between using labels and tags to segregate resources. I'll need to review those concepts quickly before deciding on the answer.
PE
Pedro 1 year ago
I think the key here is to focus on the reporting structure and approval process for the internal audit function. Option B about the chief audit executive reporting to the CEO seems like the strongest evidence of independence.
KI
King 1 year ago
Persistence layer in a unit test? That's like trying to run a marathon with a piano on your back. *chuckles*
LU
Lucina 1 year ago
↳ replying to King
C) Includes exercising the persistence layer
LE
Lemuel 1 year ago
↳ replying to King
B) Independent of others
NO
Noah 1 year ago
↳ replying to King
A) Execution is fast
GR
Gracia 1 year ago
One logical concept per test? Sounds like a good way to keep my tests focused and maintainable. I'm going with D.
CH
Chaya 1 year ago
↳ replying to Gracia
User1: Looks like we all agree on D then, let's go with that as the answer.
WI
Willow 1 year ago
↳ replying to Gracia
User3: I'm going with D as well, it's important to make assertions about only one thing in a test.
RE
Renay 1 year ago
↳ replying to Gracia
User2: I think so too, D seems like the right choice for a desirable characteristic of a unit test.
KA
Kara 1 year ago
↳ replying to Gracia
User1: I agree, keeping tests focused on one logical concept is important. I also choose D.
KA
Katheryn 1 year ago
Fast execution is key for unit tests. Anything that slows it down is not a desirable characteristic. I'll pick A.
CA
Catalina 2 years ago
Exercising the persistence layer? That's a unit test nightmare! I'll go with option C.
SH
Shenika 1 year ago
↳ replying to Catalina
Yes, keeping the test code small and focused on one logical concept is important. Option D is a key characteristic of a good unit test.
AL
Aliza 1 year ago
↳ replying to Catalina
Unit tests should be independent of others to ensure they are isolated. Option B is a key aspect of a good unit test.
DI
Diane 1 year ago
↳ replying to Catalina
I agree, testing the persistence layer in a unit test can lead to dependencies. Option C is definitely not a desirable characteristic.
TI
Timothy 1 year ago
↳ replying to Catalina
Exercising the persistence layer? That's a unit test nightmare! I'll go with option C.
JA
Jani 2 years ago
Hmm, including the persistence layer sounds like a big no-no. Unit tests should be isolated, not dependent on external resources.
DA
Danica 2 years ago
Execution being fast is definitely a desirable characteristic for a unit test.
JA
Janna 2 years ago
I agree with Nathan, unit tests should be independent of the persistence layer.
NA
Nathan 2 years ago
I think including exercising the persistence layer is not a desirable characteristic.
0/2000 characters

Save Cancel