• Home
  • About
  • Contact
  • Resume

Login

Remember Me
  • Forgot your password?
  • Home
  • About
  • Contact
  • Resume

Nick Escobedo

  • Home
  • About
  • Contact
  • Resume

testing

Home
 / testing
Laravel, PHP, Programming, Testing

How To Write Tests For a Custom Laravel Validation Rule

By Nick Escobedo
January 23, 2020
4 min read
Leave a comment
In Laravel, PHP, Programming, Testing
3586 views
Scenario Our form is expecting user input from a specific field is typed in all capital letters so we have a custom validation rule to check if the input is uppercase. Writing tests for a custom Laravel validation rule is ...
Read more

Catch An Expected Exception In PHP Unit Test

By Nick Escobedo
January 11, 2015
24 second read
1 Comment
In PHP, Programming, Testing
11312 views
Something I ran into a while back while writing tests. If intentionally testing code for an exception then it is required to add an annotation above the test method.
Read more

Categories

  • Android
  • How-To's
  • HTML
  • Interesting
  • JavaScript
  • Laravel
  • Life
  • Life Pro Tip
  • Linux
  • Magento
  • Mobile App of the Week
  • PHP
  • Programming
  • Retail
  • Software Development
  • Tech
  • Testing
  • Tips
  • Ubuntu
  • Video Games
  • Vue.js
  • Wordpress
  • YouTube
© Copyright 2015, All Rights Reserved Powered by WordPress | Designed by Bdayh