Question: At the end of this specific task, students should be able to: - Create classes, methods, and other OOP programming constructs. - Use decisions -







At the end of this specific task, students should be able to: - Create classes, methods, and other OOP programming constructs. - Use decisions - Produce an application that accepts input and returns output - (Learning unit 1-4) Your very first task is to create a registration and login feature. This feature needs to allow users to (Read through the entire task before you start any work): 1. Create an account by entering username, password, first name and last name. a. The system needs to check that the following conditions are met, and reply with the appropriate output message: 2. Login to the account using the same username and password. a. The system should provide the following messages to verify the user's authentication state: You will need to implement a Login class with the following methods to ensure that your application meets good coding standards and that the code you write is testable. 4. It is good practice to never push code that has not been tested, you will need to create the following unit tests to verify that your methods are executing as expected: \begin{tabular}{|l|l|} \hline Test: (assertEquals) & Test Data and expected system responses. \\ \hline Username is correctly formatted: & Test Data: "kyl_1" \\ \cline { 2 - 2 } \multirow{2}{*}{ The username contains an underscore and is no more than 5 characters long } & The system returns: "Welcome , it is great to see you." \\ \hline Username incorrectly formatted: & Test Data: "kyle!!!!!!!" \\ \hline \end{tabular} Watch the following video to help you create the necessary unit tests in NetBeans: https://www.youtube.com/watch?v=2EIUHHoVfmU [22 February 2022] ** Make sure to use the test data detailed in the table for assertEquals as this will be used to mark your task. Finally, developers make use of Continuous Integration and Continuous Deployment (Cl/CD) pipelines to iteratively build systems and to test not only the functionality but also the quality of their code. It is good practice to start working with at least Cl in mind. We will be implementing GitHub actions to: a. Automate the tests we have written to run whenever we updated our code. i. Make sure you have signed up for the GitHub student developer pack ii. Follow the steps detailed below to automate your tests using GitHub Actions: https://www.youtube.com/watch?v=b3cIRsVPLR4\&t=282s [22 February 2022]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
