Need to test your React components? Check out Jest, a testing framework by Facebook with some great features that make testing React components a breeze.
Tag: tdd
Jani Hartikainen gets you started with unit testing your JavaScript — an important, but often overlooked part of development — using Mocha and Chai.
Let's take a fresh look at PHPUnit - the de-facto TDD tool for PHP. We'll explain TDD on an example, implement code coverage, and more!
Chris writes test watchers: auto-compiling PHP from Preprocess files, and auto-testing after every file-change. No need to manually run PHPUnit ever again!
Take a look at this list of 8 PHP Quality Assurance tools - absolute essentials in your passion projects
Chris explains what snapshot testing is on some ReactJS code, before applying it to PHP and giving you something to think about when you close this tab!
In this sourcehunt, we present PHP machine learning, a CRM that helps you track personal relationships, a wrapper to make Guzzle usable again, and more!
We focus on Behat now to further extend Sylius in true TDD fashion. We write stories, we test against them, and then we develop features to make them pass!
Deji extends the core of Sylius by adding some back end features via true TDD: writing PhpSpec tests first, seeing that they fail, and then making them pass
James Wright introduces test-driven development and walks through creating and refactoring a simple form validation library, step-by-step, as an example.
Viraj takes us through the basic process of setting up Continuous Deployment to a DigitalOcean server by means of Semaphore CI. Exciting!
We look at Sylius - a fully tested and super-robuts e-commerce platform/framework, and use it to learn some proper Test Driven Development!
Viraj demonstrates Laravel Dusk - a browser testing tool designed for testing your apps in full - including UI and JavaScript!
Let's take a look at Peridot - a testing suite with a different approach. Can we BDD test our units? Should we?
Alex Bilbie looks at Jenkins' newest feature: pipelines. With it, we configure Laravel's auto-testing procedure, and make sure our builds stay alive!
Matthew Setter takes an introductory look at atoum - an alternative to PHPUnit with an interesting twist
Paul Wilkins demonstrates various JavaScript refactoring techniques to make your code more generic & strike the balance between readability and reusability.
Here's a quick way to get rid of filesystem troubles (cleanup anyone?) when practicing TDD - virtual file systems!
We use tests to test our code. But... how do we test our tests? Let's take a look at Humbug: a mutation testing framework!
Andrew explains how to perform database-related tests in a Symfony app much faster - with a disposable in-memory SQLite database, avoiding any bulky mocks
Tim Severien discusses a wide variety of tips and tricks to build your own JavaScript library, ranging from API design to testing and documentation.
Did you miss the PHPUnit 5 train? Hop on board and find out what's new!
Chris Pitt starts developing a new PHP package with TDD practices in mind - using PhpUnit and Mockery all the way. Check it out!
Vitalij Mik goes through a from-scratch UseCase implementation to demonstrate Clean Code Architecture and Test Driven Development on a Guestbook app!
In this introduction, Bruno Skvorc introduces BDD in Laravel by installing and using Behat and PhpSpec to develop a simple testable feature.
Hugo shows us how we can got about testing a Sass function in 5 minutes or so using Sass.
Taylor Ren shows you how easy it is to build a custom Symfony2 Twig filter, all while using PHPUnit to respect TDD practices.
With version 8 looming on the horizon, Danny ups our development game with automated testing of Drupal 8 modules - write functional tests like a pro!
Continuing the TDD story from before, we now test our API client by mocking the responses of the Diffbot API. Tune in to learn how to use response mocking!
Bruno Skvorc explains how to use TDD (test driven development) to jumpstart your new PHP package's development. Dive into professional workflow, now!