Fixed passwords in SQL INSERTS because of a discovered defect in test data (not code). Chapter 3, "XP and AMDD-Based Architecture and Design Modeling," has an acceptance test that indicates "The password must be between 8 and 10 characters." The original passwords were fewer than 8 characters, thereby not allowing a user to log in. INSERT INTO Employee (employeeId, name, employeeCode, password, email, managerEmployeeId) VALUES (2, 'Ajay Kumar', 'H', 'visualpatterns', 'akumar@acme.com', 3); INSERT INTO Employee (employeeId, name, employeeCode, password, email, managerEmployeeId) VALUES (3, 'Teresa Walker', 'M', 'agilestuff', 'twalker@acme.com', 4); INSERT INTO Employee (employeeId, name, employeeCode, password, email) VALUES (4, 'Tom Brady', 'E', 'superbowl', 'tbrady@acme.com'); It is important to note that defects are not always code related; they can also be related to bad data. |