article thumbnail

TDD saved the day

Xebia

To tackle each operation, I started with a small test, following the principles of Test-Driven Development (TDD). As an aside, TDD is an iterative workflow that involves describing a specific aspect you want to solve in terms of the programming language you’re using. To construct the hierarchy, I did not require the GUI just yet.

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. executor driver): net.razorvine.pickle.PickleException: expected zero arguments for construction of ClassDict (for main.utils.custom_exceptions.APIError).

Insiders

Sign Up for our Newsletter

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

Trending Sources

article thumbnail

Why Dumb Tests are Smart ?

Xebia

There are strategies to get to tests that are both descriptive and easy to maintain, such as: The Test Data Builder Pattern , which allows you to construct test data in a better way. The last thing you want is to decipher the meaning of tests on top of understanding production code.

Testing 130
article thumbnail

Quality Control: Using Acceptance Testing to Guarantee Product Quality

Altexsoft

When the waterfall method prevailed, quality management in software was similar to that of in manufacturing or construction. There are three popular Agile testing methodologies: Test-Driven Development (TDD), Behavior-Driven Development (BDD), and. Difference between TDD, BDD, and ATDD. Acceptance Test-Driven Development (ATDD).

Testing 52
article thumbnail

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

Apiumhub

He is a former practitioner of Agile methodologies, particularly extreme programming, with experience in practices like TDD, continuous integration, build pipelines, and evolutionary design. His primary consulting focus is the design and construction of large-scale enterprise applications.

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. In doing so I had an epic battle with mocha , monk and supertest to use async / await etc.

Testing 49
article thumbnail

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

CircleCI

Running in a loop automatically where you make a change, you hit save and you get that TDD red, green, refactor cycle going. I try to say, “I think this because of this,” but I want to make it easy for someone to disagree with me and have a constructive discussion about my opinion. And if so, how?