Testing

Showing 10-17 of 17 results

Share

A Node.js Guide to Actually Doing Integration Tests

Your software isn’t fully tested until you write integration tests for it. While unit tests help ensure that functions are properly written, integration tests help ensure that the system is working properly as a whole.

In this article, Toptal Software Engineer Luka Blažecki uses Node.js to explain why integration testing is important for every development platform and how to write clean, composable integration tests.

10 minute readContinue Reading
Luka Blažecki

Luka Blažecki

Testing Your Go App: Get Started The Right Way

When Golang first came out, there were next to no resources available about how to efficiently test your Go-written application. Even now, with plenty of guides and recommendations available, many bright-eyed developers still try to apply their Ruby or JavaScript mindset and use external frameworks to test apps written in Go.

In this article, Toptal Freelance Developer Gabriel Aszalos first explains Golang philosophy and then covers the basics of testing in Go, from table testing to JSON response assertion.

10 minute readContinue Reading
Gabriel Aszalos

Gabriel Aszalos

Jumpstart Your PHP Testing with Codeception

Would you like to test your PHP code like a boss? Do you feel that basic unit tests and PHPUnit just don’t cut it anymore? If your answer to both questions is yes, you might want to try Codeception, a mature and well-documented testing framework designed to outperform PHPUnit and Behat.

In this post, Toptal Freelance Software Engineer Vasily Koval describes how he came to take the plunge and start using Codeception, and he explains why you should check out Codeception for your PHP testing needs.

10 minute readContinue Reading
Vasily Koval

Vasily Koval

HTTP Request Testing: A Developer's Survival Tool

It’s tragically common for developers to come into a project where proper automated testing has been and will continue to be overlooked. It’s a situation Freelance Developer Bhushan Lodha has found himself in all too often; fortunately, he’s found a solution. In this article, he briefly covers the reasons why testing is overlooked and ultimately explains his “coding life hack” to ensure quality control even when he can’t introduce a testing framework.

11 minute readContinue Reading
Bhushan Lodha

Bhushan Lodha

Automation in Selenium: Page Object Model and Page Factory

Proper test automation is a challenging yet essential ingredient for quality software applications. Explore maintainable test automation in Selenium, including Page Object model and Page Factory.

9 minute readContinue Reading
Dejan Zivanovic

Dejan Zivanovic

Straightforward React UI Testing

Using React.js props your application’s front-end. In particular, testing user interactions and viewing renderings is vastly improved with React UI testing.

10 minute readContinue Reading
Swizec Teller

Swizec Teller

Unit Testing and Coding: Why Testable Code Matters

In this article, I will show that unit testing itself is quite easy; the real problems that complicate unit testing, and introduce expensive complexity, are a result of poorly-designed, untestable code. We will discuss what makes code hard to test, which anti-patterns and bad practices we should avoid to improve testability, and what other benefits we can achieve by writing testable code. We will see that writing testable code is not just about making testing less troublesome, but about making the code itself more robust, and easier to maintain.

22 minute readContinue Reading
Sergey Kolodiy

Sergey Kolodiy

Android Testing Tutorial: Unit Testing Like a True Green Droid

The extremely diverse and fragmented Android ecosystem poses certain challenges when it comes to testing. In this article, we take a look at some approaches that can be effective with tackling these challenges and ease the process of writing and automating tests.

12 minute readContinue Reading
Marko Vitas

Marko Vitas

World-class articles, delivered weekly.

Subscription implies consent to our privacy policy

Join the Toptal® community.