mobile it
  •  ? 
    #architecture #jvm #tdd #android

    Architecture tests with ArchUnit, pt. 1: Reasons

    Good architecture is essential for a codebase to enjoy a long and happy life (the other crucial ingredient is running automated unit tests, but that’s a different blog post). Nowadays there are many sensible options, including our favorite for mobile apps, Clean arch, but no matter which...
  •  ? 
    #architecture #jvm #tdd #android

    Architecture tests with ArchUnit, pt. 2: Rules

    In the first part of this series, we’ve had a glimpse of an architecture test written with the almighty ArchUnit, but of course there’s much more! Although ArchUnit’s API looks like Java Reflection API, it also contains powerful constructs to describe dependencies between code or...
  •  ? 
    #architecture #jvm #tdd #android

    Architecture tests with ArchUnit, pt. 3: Advanced stuff

    ​​​ArchUnit has many tricks up to its sleeve. We’ve already seen how to check package structure, language elements such as classes, fields, and methods, and how to make sure your layered architecture is sound. But there’s more! Let’s take a look at some advanced conce​pts. As we’ve...
  •  ? 
    #architecture #jvm #tdd #android #kotlin

    Architecture tests with ArchUnit, pt. 4: Extensions & Kotlin support

    ​ArchUnit is immensely capable on its own and that's a great merit on its own, but it doesn’t stop there—ArchUnit’s power can be augmented by adding custom matchers, language elements, and even whole new concepts. In this post, we’ll look at how we can achieve that and then we’ll see if...