In lecture 2 we sent an AI tool the code behind a sign-in form and wrote: "I do not have a written requirement." We asked what happens with a wrong password.
The test it wrote expects the error text from the code we pasted. The reply was open about it:
"Since there is no written requirement, the expected behavior is derived from the provided implementation."
The "provided implementation" is the code we pasted. The test passed on the working app. It failed on two copies with planted bugs, so it caught both. By the checks you can run, this is a good test.