How to test failed authentication attempts with test-driven development

Posted by bob on Mar 17, 2020 4:54 PM EDT
Opensource.com; By Alex Bunardzic
Mail this story
Print this story

Testing often begins with what we hope happens. In my previous article, I demonstrated how to virtualize a service you depend on when processing the "happy path" scenario (that is, testing the outcome of a successful login attempt). But we all know that software fails in spectacular and unexpected ways. Now's the time to take a closer look into how to process the "less happy paths": what happens when someone tries to log in with the wrong credentials?

Full Story

  Nav
» Read more about: Story Type: Security, Tutorial; Groups: Community, Developer, Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.