课程: Inclusive Tech: Conducting Humane Code Reviews

今天就学习课程吧!

今天就开通帐号,24,600 门业界名师课程任您挑!

Goal 4: Confirm functionality

Goal 4: Confirm functionality

- [Instructor] With the rise of automated processes, confirming the functionality of our code should be one of the easier code review goals to fulfill. However, when we don't have or don't use things like automated tests, it is part of our jobs as developers to make sure things work as they should during the code review process. To confirm the functionality of our code, we answer the question, does it do what it's supposed to? Validating this during the code review process can be as straightforward as quickly pulling down the branch, building it and doing some quick tests to make sure the code is doing what it's supposed to. Also, some great questions to ask yourself when confirming functionality can include, is the feature meeting all of the requirements vetted in your spec or ticket? If you've gone through the due diligence to document your requirements, you might as well make sure your resulting code complies with them.…

内容