article thumbnail

Taking Frontend Architecture Serious with dependency-cruiser

Xebia

This enables you to create an architecture fitness function that ensures your code continues to adhere to the initial design. An application architecture design defines a folder structure and specifies which files can import from other files. On the frontend, there’s the classical Model-View-Controller architecture.

article thumbnail

Testing Without Mocks: A Pattern Language

James Shore

Automated tests are important. 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. It’s also easy to make poor-quality tests that are hard to read, or end up only testing themselves.

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

Piecewise Construction

The Programmer's Paradox

Modern software construction is all about rushing through the work, and the fastest way most people think to get a new piece constructed is to ignore most of what is already there. On top of that, testing is proportional, so if you write 10x more code, you should do 10x more testing. Reading old code is hard.

article thumbnail

Architectural Fitness Function: build measurable evolutionary architecture

Apiumhub

Evolutionary architecture is something every software architect thinks about. To support this evolution, fitness functions can help in finding how well a system meets specified architecture goals and constraints in an automated way. And today’s post is about architectural fitness functions. .

article thumbnail

Prerequisites for evolutionary architectures

CircleCI

Designing software that is flexible and changeable is arguably the most important architectural property. However, if we optimise our architecture for change (evolvability), when we discover a performance issue or a security vulnerability we can change our system to help address it. Automated testing. or “What about security?”.

article thumbnail

How Svevia connects roads, risk, and refuse through the cloud

CIO

Today, state-owned Svevia is the country’s largest company in the operation and maintenance of roads and bridges, and manages over 50% of the road network yet, just like in the construction industry, it’s been relatively late to digitization. In some areas, they’re testing the use of roadside sensors, weather data, and data from vehicles.

Cloud 219
article thumbnail

How to make your web application more secure by using Dynamic Application Security Testing (DAST) – PART 2 of Application Security Testing series

Xebia

Introduction Welcome to part two of the Application Security Testing series. Like I mentioned in the previous blog, during this blog series we are going to look at the different types of Application Security Testing and Software Composition Analysis. This time we will focus on Dynamic Application Security Testing (DAST).