Skip to content

General Chicken

Behavior Driven Development in WordPress

  • Tutorials
  • Plugins
  • Hire John Dee – Plugin Developer
General Chicken

Using Codeception web assertions as booleans for program flow

Sometimes you want to do:
if($I->see('lorum ipsum')){/*do something*/}

But you can’t.

My response on Stack Overflow

Author General ChickenPosted on February 21, 2018September 25, 2020Categories Help ArticlesTags BDD, Behavior Driven Development, Codeception, PHP, Stack Overflow

Leave a Reply Cancel reply

You must be logged in to post a comment.

Post navigation

Previous Previous post: Template to mock a method in the same class that is being tested
Next Next post: WordPress Plugin: Change Admin Email – running on over 30k servers!

Yum! General Tso’s

GeneralChicken.guru
GeneralChicken.guru

Recent Posts

  • Protected: VForms
  • WPSimpleHacks.com mentions our plugin in a reveiw!
  • WPBeginner.com writes article mentioning our plugin
  • WordPress Plugin: FastRegister
  • Could software “feature files” be used in a lawsuit as evidence of fraud?
  • Tutorials
  • Plugins
  • Hire John Dee – Plugin Developer
General Chicken Proudly powered by WordPress