7 Tips for Unit Testing

7 Tips for Unit Testing

Unit testing is a key part of having good code hygiene and most of us want to do it more often. In reality, however, writing unit tests is often put on the back burner when something more urgent (or interesting) crops up. It can also be daunting to build a test suite from scratch for a legacy codebase without one, and might be hard to figure out where to begin. Whatever condition your code is in, there are a few ways you can get you started with writing unit tests for any type of application.  

Code castles made of sand fall into the dependen-sea eventually

Code castles made of sand fall into the dependen-sea eventually

Most modern applications depend on numerous third-party libraries for key functions. But when your application relies on moving pieces that are frequently being updated, ignoring even a few updates means it will soon be running on out-of-date dependencies. In some ways, keeping dependencies up-to-date is like building a sandcastle right next to the ocean: It takes time and work to build, and you’re proud of the result—and as soon as you’ve made some progress, a wave of updates wipes out your work and leaves you back where you started.

5 things we’ve learned about generating tests from working with the open source community

5 things we’ve learned about generating tests from working with the open source community

We QA check the technology behind Diffblue Cover every single day by writing unit tests for open source public GitHub Java repositories and working closely with repository owners to learn exactly how our tests work (or don’t) for them. Since we began this project, we’ve seen huge advancements in the speed with which we’ve created pull requests and the quality of the tests we’ve generated, and also learned a lot about how to use AI to generate tests that repo owners are happy with. Here are some of our main takeaways from this process so far.

How is test-driven development like French cooking?

How is test-driven development like French cooking?

Mise en place is a philosophy that began in French kitchens, but is now the industry standard for professional chefs around the world. The phrase roughly translates to “everything in its place,” and it boils down to a couple of basic rules: preparing your tools and ingredients before you start cooking, and cleaning as you go. This method mass-produces delicious meals quickly, efficiently, and even elegantly: A master chef in their element is an artist at work.

So how does this relate to software development?

Diffblue Cover Is Available on AWS Marketplace

Diffblue Cover Is Available on AWS Marketplace

London, 24 May, 2019 - University of Oxford spin-out Diffblue has announced today that its flagship product, Diffblue Cover, is available to buy or use in a 5-day free trial on the AWS Marketplace. Diffblue Cover uses AI to automatically write comprehensive unit tests for Java applications. Its presence on the AWS Marketplace will allow organizations to easily try and use Diffblue for their Java software development and testing needs in AWS.

Why do regression bugs matter so much?

Why do regression bugs matter so much?

Phone service providers losing data or voice connections. Banks not being able to process transactions. Chaps not being able to transfer funds. Squarespace not being able to display anyone’s website. What do all these issues have in common? To start with, they are all issues that sprung to mind when thinking about customer issues. Which means, these are all issues that customers took to social media or mainstream news to complain about.