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

iSQI CTAL-ATT Exam - Topic 9 Question 45 Discussion

Actual exam question for iSQI's CTAL-ATT exam
Question #: 45
Topic #: 9
[All CTAL-ATT Questions]

When test cases are re-run after refactoring, what should always be verified?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

0/2000 characters
Hector
5 months ago
Redundant tests should definitely be removed, but results matter most!
upvoted 0 times
...
Shonda
6 months ago
Wait, are we really sure about that? What if the changes are valid?
upvoted 0 times
...
Clarinda
6 months ago
Agreed, results consistency is key after refactoring.
upvoted 0 times
...
Mira
6 months ago
I think branch coverage is more important, though.
upvoted 0 times
...
Sonia
6 months ago
Always check that they provide the same results as before!
upvoted 0 times
...
Carisa
6 months ago
I wonder if removing redundant tests is something we should always do. It seems like it could help, but I'm not confident that's the priority.
upvoted 0 times
...
Kandis
7 months ago
I practiced a question like this, and I feel like ensuring the results are consistent is the main focus after refactoring.
upvoted 0 times
...
Carlton
7 months ago
I'm not entirely sure, but I remember something about branch coverage being important too. Maybe that's a factor?
upvoted 0 times
...
Phillip
7 months ago
I think we should verify that the tests provide the same results as before, right? That seems crucial after any changes.
upvoted 0 times
...
Isadora
7 months ago
Ah, this is a tricky one. I'll need to make sure I understand the implications of refactoring and what the key things are to verify. Removing redundant tests could also be important.
upvoted 0 times
...
Theron
7 months ago
I think the correct answer is that the test results should be the same as before. Refactoring is about improving the code without changing its behavior, so the outputs need to stay the same.
upvoted 0 times
...
Howard
7 months ago
Hmm, I'm not sure about this one. I'll need to think carefully about what the key things are to check when re-running tests after a refactoring. Better logging could also be important.
upvoted 0 times
...
Wenona
7 months ago
This seems straightforward - I should focus on verifying that the test results are the same as before the refactoring. That's the most important thing.
upvoted 0 times
...
Corinne
7 months ago
Hmm, I'm a little unsure about this one. The prompt is talking about crimes against businesses, so I'm not sure if that means it's specifically talking about internal crimes like employee theft and embezzlement, or external crimes like shoplifting and burglary. I'll have to think this through carefully.
upvoted 0 times
...
Sharmaine
12 months ago
I'm with Jarod on this one. Refactoring is all about improving the code under the hood, not changing the way it behaves. C is the answer.
upvoted 0 times
...
Jestine
12 months ago
C is the way to go. If the refactored code doesn't give the same results, then you've got a bigger problem on your hands!
upvoted 0 times
Glendora
10 months ago
D) That tests that have now been made redundant are removed from the test set
upvoted 0 times
...
Melodie
11 months ago
C) That they provide the same results as before
upvoted 0 times
...
Denny
11 months ago
A) That the branch coverage is the same or increased
upvoted 0 times
...
...
Delfina
1 year ago
A seems like a strange choice. Branch coverage is important, but it's not the first thing I'd check after a refactoring. I'm sticking with C.
upvoted 0 times
Freeman
11 months ago
I see your point, but I still think C is the most crucial to verify after refactoring.
upvoted 0 times
...
Marge
11 months ago
I think A is also important to ensure we are not missing any critical paths in the code.
upvoted 0 times
...
Cletus
12 months ago
I agree, C is the safest choice. We need to make sure the results are consistent.
upvoted 0 times
...
...
Shenika
1 year ago
B is a bit of a stretch. Better logging is a nice-to-have, but it's not the priJarod concern when refactoring. I'd go with C.
upvoted 0 times
Josphine
11 months ago
D is also crucial. We should remove any redundant tests to keep our test set efficient.
upvoted 0 times
...
Whitley
12 months ago
I think A is also important. We need to ensure that the branch coverage is maintained or improved.
upvoted 0 times
...
Darrel
12 months ago
I agree, C is the most important. We need to make sure the results are the same after refactoring.
upvoted 0 times
...
...
Justine
1 year ago
D makes sense too. If you've refactored the code, some tests might have become redundant and should be removed to keep the test suite lean and efficient.
upvoted 0 times
Sherly
11 months ago
D) That tests that have now been made redundant are removed from the test set
upvoted 0 times
...
Charlene
11 months ago
C) That they provide the same results as before
upvoted 0 times
...
Ellen
11 months ago
A) That the branch coverage is the same or increased
upvoted 0 times
...
...
Jarod
1 year ago
I think C is the correct answer. The whole point of refactoring is to improve the code without changing its functionality, so the test results should be the same.
upvoted 0 times
...
Ruthann
1 year ago
But shouldn't we also check if any tests have become redundant and remove them from the test set?
upvoted 0 times
...
German
1 year ago
I agree with Jamal. It's important to make sure the refactored code still produces the same results.
upvoted 0 times
...
Jamal
1 year ago
I think we should always verify that the test cases provide the same results as before.
upvoted 0 times
...

Save Cancel