@@ -0,0 +1,1089 @@
+package test.modules;%0A%0Aimport static org.junit.jupiter.api.Assertions.assertDoesNotThrow;%0Aimport static org.junit.jupiter.api.Assertions.assertLinesMatch;%0A%0Aimport com.github.sormuras.bach.Bach;%0Aimport com.github.sormuras.bach.Http;%0Aimport com.github.sormuras.bach.Project;%0Aimport com.github.sormuras.bach.ProjectBuilder;%0Aimport com.github.sormuras.bach.project.Base;%0Aimport java.io.ByteArrayOutputStream;%0Aimport java.io.PrintStream;%0Aimport java.nio.charset.StandardCharsets;%0Aimport java.nio.file.Path;%0Aimport org.junit.jupiter.api.Test;%0Aimport org.junit.jupiter.api.io.TempDir;%0A%0Aclass ProjectBuilderTests %7B%0A  @Test%0A  void buildInEmptyDirectory(@TempDir Path temp) %7B%0A    var baos = new ByteArrayOutputStream();%0A    var log = new PrintStream(baos, true, StandardCharsets.UTF_8);%0A    var bach = new Bach(log, Http::newClient);%0A%0A    var base = Base.of(temp);%0A    var project = Project.of(base);%0A    var builder = new ProjectBuilder(bach, project);%0A    assertDoesNotThrow(builder::build);%0A%0A    assertLinesMatch(%22%22%22%0A        Work on Project.+%0A        %22%22%22.lines(), baos.toString().lines());%0A  %7D%0A%7D%0A

Add test for building in an empty directory