CST 338 Week 2
For week 2 of CST 338 Software design we tackled a lot about git commands, test in java and interfaces. For Git commands I was kind of familiar with it already but I learn more about how to do it in command line. I also learn on how to do it with IntelliJ interface. Whether to use the command line or interface is up to the user but I try to keep the balance in using both so I can retain what I learn and how to do it. We also learn to push everything in a remote repository which is Github. Both the command line and IntelliJ interface has a way to push into remote. I also learn how to complete PR and push everything in main. Also when merging locally, it is preferred to re-base while merging in main.
Unit testing is also important when developing programs. As a QA myself, I know how important it is, but my job mostly focus on manually testing software. I learn or got familiar on how to create unit test in Java. This is important to ensure the methods involve in each class are working. It is important to cover as much as possible, more scenarios. Sometimes it is not enough to just test the happy path or expected result of the code but rather, add in test cases scenarios that it might fail. Doing this will avoid having an error in the future if some boundaries were met. Lab 01 covers a lot of this test case scenario. Lab 01 also involve the used of interface for class. It was initially hard for me to understand on what it really does. Initially I though this is the way classes can inherit from parent classes but it was different. It might seem to be inheritance at first but it is not completely inheritance. It is something that shows what methods one class will have but not exactly on how they are implemented.
Overall week 2 has been challenging for me since it was my first time writing a project in java language that involves using interfaces and creating test cases for each method. The combination of labs, quizzes and hands on coding help me understand some of these concepts. I look forward in the future where I can be more comfortable is using these concepts that will help me have a strong foundation in software design.
Comments
Post a Comment