Week 12 Class 24 Thu Nov 12 Posted: Nov 12
Announcements
Project 3: Code Analysis TDD Overall:
This applies at any level of the implementation.
Project 3: Code Analysis TDD I see some of you are trying to parse the file extension to see if it is an archive. That is a wild-goose chase. Here are some of the current extensions that you would have to detect:
Make sure to scroll to see them all.
Oh wait, I forgot you can have multiple compressions applied:
Again, scroll to see them all.
To make it worse, the set of archives & compressions expands all the time.
The solution is not for your code to determine if it is an archive (or not) based on the file extension. The current rules give you enough information.
Good Development
The following are things not to do for or Project 3 and in general when making changes to an existing code base. The examples shown are violations and should be fixed if part of your code. Not doing so will lead to points off.
Do not use inconsistent indentation
Do not change the header comment:
Do not violate the existing coding style
Do not change things you don't understand:
Do not change the value of fields you are not testing
Do not automatically put the return with the previous statement, unless it is part of the processing
(For this assignment) any local variable you add should, in almost all cases, have an initialization, not just a declaration
Class
Exercise 61: Team Rename Method Refactoring II
Complete Exercise 57: Team Rename Method Refactoring.
Continue from where your team left off in the first part. Follow the full workflow, including the exact commit messages, pushing each change, creating and accepting the pull request, and closing the issue. Compile, build, and run successfully at every step so the program's behavior stays the same.
There is no report or uploaded notes. Keep the issue branch as instructed in the first part.
Unless stated otherwise, all exercises are due by 4 pm on Fri Nov 13