Remove Construction Remove Software Review Remove TDD Remove Testing
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). If the tests became too complex, I knew something was missing. This description takes the form of a test.

article thumbnail

Why Dumb Tests are Smart ?

Xebia

Writing tests that help evolve a system is hard, and you get there by avoiding smart tests while preferring dumb ones. The Paradox of Smart Tests Smart is always better than dumb, isn’t it? This time we’ll look at the paradox that dumb programmer tests are superior to smart ones. Let’s dive in.

Testing 130
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

Understanding the role of Py4J in Databricks

Perficient

I mentioned that my attempt to implement TDD with Databricks was not totally successful. Using mocks to test python objects that are serialized to Spark is actually the issue. I didn’t either until my adventure with TDD in a local environment. Honestly, I was feeling pretty good about the code. mode("append").saveAsTable("default.logging")

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. Quality Assurance vs Quality Control vs Testing.

Testing 52
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. The test will store an object in a MongoDb database, then will call an HTTP-endpoint ( /user/:id ) that simply returns that object for us again. test" : "mocha -w -u bdd -R spec./*.test.js".

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. At that company we always really struggled with test data.

article thumbnail

Testing Without Mocks: A Pattern Language

James Shore

Automated tests are important. Without them, programmers waste a huge amount of time manually checking and fixing their code. Unfortunately, many automated tests also waste a huge amount of time. The easy, obvious way to write tests is to make broad tests that are automated versions of manual tests.

Testing 138