B, E are correct
Step 1. Write a test: Write a test that tests for the new class or function that you want to add to your code. Think about the class name and structure you will need in order to call the new capability that doesn’t exist yet—and nothing more.
Step 2. Test fails: Of course, the test fails because you haven’t written the part that works yet. The idea here is to think about the class or function you want and test for its intended output. This initial test failure shows you exactly where you should focus your code writing to get it to pass. This is like starting with your end state in mind, which is the most effective way to accomplish a goal.
Step 3. Write some code: Write only the code needed to make the new function or class successfully pass. This is about efficiency and focus.
Step 4. Test passes: The test now passes, and the code works.
Step 5. Refactor: Clean up the code as necessary, removing any test stubs or hard-coded variables used in testing. Refine the code, if needed, for speed.
DEVASC Training - Section 2 - Lesson 2.3 TDD
....(TDD) is a software-development methodology where you write the test code before the actual production code.
When code is developed,....Now step back, look at the whole codebase, and clean it up by refactoring.Refactoring the code before moving....
This section is not available anymore. Please use the main Exam Page.200-901 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Mormon
Highly Voted 4 years, 10 months agowekoje1137
Highly Voted 2 weeks agogabsirk
Most Recent 1 month, 2 weeks agosamtestking
5 months, 1 week agodesignated
7 months, 1 week agoxenolo
8 months, 1 week agosandaruwann654
1 year agoeryxcs
2 years, 1 month agoMike_84
2 years, 9 months agojeanh101
2 years, 9 months agoXerAR
2 years, 9 months agomacxsz
2 years, 11 months agokibo_muc
3 years agoLagann92
3 years agoparkjunsung
3 years, 3 months agoFrank338
3 years, 3 months agoTargaryen
3 years, 3 months ago