article thumbnail

TDD saved the day

Xebia

Sometimes, the coding task in front of you can be overwhelmingly complex. To tackle each operation, I started with a small test, following the principles of Test-Driven Development (TDD). Then, you implement a portion of the code that fulfills the test’s requirements. Clean up the code, and repeat.

article thumbnail

Understanding the role of Py4J in Databricks

Perficient

I mentioned that my attempt to implement TDD with Databricks was not totally successful. I didn’t either until my adventure with TDD in a local environment. It was very time consuming because mocking Spark is not easy, but eventually all the tests passed and I had complete code coverage. This is a feature, not a bug.

Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

Our book “Software Architecture Metrics: Case Studies to Improve the Quality of Your Architecture” is published!

Apiumhub

We are delighted to announce the release of our new book “ Software Architecture Metrics: Case Studies to Improve the Quality of Your Architecture ”. Global Software Architecture Summit for meeting all these software architects, who push me forward and who generate interesting discussions. ” How did it all started?

article thumbnail

Quality Control: Using Acceptance Testing to Guarantee Product Quality

Altexsoft

A bit earlier, in 1998, a much more trivial software mistake was uncovered. Let’s talk about what quality control entails in modern software development. In software development, quality control exists alongside two other concepts: quality assurance (QA) and testing. Determine software requirements and acceptance criteria.

Testing 52
article thumbnail

Why Dumb Tests are Smart ?

Xebia

Change to code under test and the test code itself. The DRY-principle (Don’t Repeat Yourself) is an excellent heuristic for ending up with maintainable code. The cost tends to be in the form of code being less descriptive ; it becomes less straightforward. This applies to production code as well, of course!

Testing 130
article thumbnail

Testing a Koa application with supertest using async/await

Marcusoft

I’ve been playing around with refactoring a Koa application to use modern JavaScript constructs like async , await => and do away with generators etc. Let’s start with the production code, because this is not really a tutorial in TDD. This is so that we can reach it from the test code later. test.js". }. use ( routes.

Testing 49
article thumbnail

How to build confidence as an engineer: an interview with Glen Mailer, CircleCI Staff Software Engineer

CircleCI

In this interview, we spoke to CircleCI Staff Software Engineer, Glen Mailer. My current role is a Staff Software Engineer. So when you first said that the first thing that sprung to mind was thinking about software testing and releasing and deployments. We hope you enjoy it. That was my initial thought.