timexhsqldb.xml: Bad Data Defect Fix


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.



Agile Java Development with Spring, Hibernate and Eclipse
Agile Java Development with Spring, Hibernate and Eclipse
ISBN: 0672328968
EAN: 2147483647
Year: 2006
Pages: 219

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net