Software tester's instinct is important also for full-stack developers for two reasons: testing is responsibility of such developer also and the first testing should be done by the author. The eleventh question of the quiz for a full-stack developer is here.
Check the answer to the tenth question.
A new feature was added to a web application. A part of the feature is an input for a date. It was requested that it should support one date format - DD-MM-YYYY and dates range from 01-01-1900 to 31-12-2050 inclusive. What tests would you perform for this input field to make sure it is correctly implemented? For example one of the tests would be checking if the application allows for 12-05-2006. Another one would be testing if the application correctly handles incorrect xy-05-2006.
For the answer scroll down
.
.
.
.
.
.
This question checks a tester's intuition. The biggest difficulty is to find all possible angles to test this part of the application. As it is an open question, there is no one correct answer. I could accept any answer that cover all or a vast majority of these cases:
Positive cases:
Negative cases:
Additionally: