---
title: "Slobodan Alavanja (@slobich) | Hashnode"
description: "Slobodan Alavanja (@slobich) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@slobich"
---

@slobich

# Slobodan Alavanja

@slobich · Joined January 2025

## Comments

[Hey. I tried your tutorial but I got a lot of PHP errors and the tests don't run. I can't send you a link to the output since it's my first comment. The first error is: "1) MyPluginTest::test\_my\_plugin\_add\_greeting Error: Call to undefined function my\_plugin\_add\_greeting()" All the rest are the same as the plugin file is not loading. Also there is an error about Brain Monkey: Error: Call to undefined method Mockery\\Expectation::withConsecutive(). Is there something I'm missing? Hope you can help.](https://hashnode.com/posts/brain-monkey-tutorial-simplified-unit-testing-for-wordpress/675de88b141c7cba6c429f7d/comment/679760c41e0316e474f575cd)

Comment · Article · Jan 27, 2025 · [Brain Monkey Tutorial: Simplified Unit Testing for WordPress](https://hashnode.com/posts/brain-monkey-tutorial-simplified-unit-testing-for-wordpress/675de88b141c7cba6c429f7d)
