Welcome to ManageWP.org

Register to share, discuss and vote for the best WordPress stories every day, find new ideas and inspiration for your business and network with other members of the WordPress community. Join the #1 WordPress news community!

×

27 min read Ben Gillbanks
Community | tfrommen.de | Jan. 23, 2017

An Introduction to Unit Testing (for WordPress)

A detailed explanation of unit testing for WordPress, with examples for setting up tests in a variety of explanations. Plus it has Lego in the featured image! :)

An Introduction to Unit Testing (for WordPress)

Community | tfrommen.de | Jan. 23, 2017

Thorsten is a web developer since 2000, working with (and on) WordPress since 2005. Currently, Thorsten is a WordPress engineer and technical project lead at Inpsyde, Germany’s biggest WordPress agency. He is part of Inpsyde’s QA team, and leads the development of MultilingualPress, the multisite-based free open source plugin for your multilingual websites. He also maintains WP REST Starter, a Composer package for working with the WordPress REST API in an object-oriented fashion.
Thorsten is a certified PHP engineer, web development professional and tester.
If you are a software developer, you might have come across the term “testable code”. But what is it? What makes code testable, and what not?
Testable Code
Every piece of software is testable—somehow. There are several things you might be able to test:
the return value of a function;
the output of a function;
other side effects of executing a function;
whether or not a program crashes;

So, doesn’t that mean every piece of code is testable code?
It does not. That’s because almost always when someone refers to “testable code” they do it in the context of unit testing. So

14 min read Omaar Osmaan
Community | tfrommen.de | Aug. 4, 2017

Interview with Wes Bos about WordPress, JavaScript and React

"Of all the JavaScript professionals, teachers and influencers, Wes not only knows React like the back of his hand, he also has advanced WordPress knowledge. Unlike Evan Young, however, Wes is not involved in the development of any of the systems. Therefore, Wes was the optimal candidate for such an interview."

Interview with Wes Bos about WordPress, JavaScript and React

Community | tfrommen.de | Aug. 4, 2017

Thorsten is a certified PHP engineer, web development professional and tester. He is working in the web since 2000, and with (and on) WordPress since 2005. Currently, Thorsten is a WordPress engineer and technical project lead at Inpsyde, Germany’s biggest WordPress agency. He is part of Inpsyde’s QA team, and leads the development of MultilingualPress, the multisite-based free open source plugin for your multilingual websites. Thorsten also maintains WP REST Starter, a Composer package for working with the WordPress REST API in an object-oriented fashion.
If you are into WordPress or JavaScript, or even both, you might have heard the news already. WordPress is (i.e., the core committers as well as several contributors and users are) evaluating JavaScript frameworks for adoption. This post is an interview with Wes Bos about exactly that topic.
Who Is This Wes Bos?
At the end of last year, I had a straightforward, easy-to-understand and even partly visual answer to the question who Wes Bos is.
@wesbos in a nutshell:
['', '', ''].map();
// ['', '', '']
— Thorsten Frommen (@thorstenfrommen)