Feature Test vs Unit Test And Adding Replies To Threads

Feature Test vs Unit Test And Adding Replies To Threads

We’re moving along nicely with our test driven development of the forum. In this tutorial we will start tackling the concept of adding replies to threads. We’ll continue with developing the test case first, thinking out the pseudo code, and then adding the actual code to the application to make it all work. We’ll also take a loot at the concept of Feature Tests vs Unit Tests.…

How To Create A Feature Test In Laravel

How To Create A Feature Test In Laravel

Since we are doing test driven development, we need to actually create tests for features before we even build them. In this tutorial, that is exactly what we will do. The first thing, or feature, that our forum project will have is that a user can view threads. We can navigate to the tests folder and rename the boilerplate ExampleTest.php to ThreadsTest.php. Before we do that however, we will need to set up our testing environment, so that will be the first step.…

Building A Forum With Laracasts

Building A Forum With Laracasts

We’re going to get back to working with Laravel now. We had a break for a minute exploring some WordPress topics and other such adventures, and now we are refreshed and ready to get back to some test driven development using the very latest and greatest versions of Laravel, Vue, and more. Laracasts.com has a fantastic series of building a forum using Laravel. We will attempt to follow along and see if we can get this working on our own machine.…

How To Use WP_Query In WordPress

How To Use WP_Query In WordPress

In this WordPress Tutorial, we will have a look at the WP_Query class, which is really the workhorse of fetching post data from your WordPress database. WP_Query gives theme developers complete control over what is sent into “The Loop” as we call it. By mastering WP_Query, one gains the ability to loop over any posts they like and in any theme file where it is deemed needed.…