   (:require [boot.core :as boot :refer [deftask]]
             [boot.task.built-in :refer [sift]]
             [boot.test :as boot-test :refer [deftesttask]]
+            [clj-yaml.core :as yaml]
             [clojure.java.io :as io]
             [clojure.string :as str]
             [clojure.test :refer [deftest testing is]]

          (file-exists? :path "public/atom.xml"
                        :msg "`atom-feed` should write atom.xml"))

        (p/render :renderer 'io.perun-test/render)

        (add-txt-file :path "test.js" :content js-content)

  (comp (testing "Collection works without input files" ;; #77
          (p/collection :renderer 'io.perun-test/render))

        (add-txt-file :path "test.md" :content (nth input-strings 0))
        (p/markdown) ;; render once

        (add-txt-file :path "test.md" :content (str/replace (nth input-strings 0) #"Hello" "Salutations"))
        (p/markdown)
        (testing "detecting content changes"
          (content-test :path "public/test.html"
                        :content "Salutations"
                        :msg "content changes should result in re-rendering"))

        (add-txt-file :path "test.md" :content (nth input-strings 1))
        (p/markdown)
        (testing "detecting metadata changes"
          (value-test :path "public/test.html"
                      :value-fn #(meta= %1 %2 :draft false)
                      :msg "metadata changes should result in re-rendering"))

        (add-txt-file :path "test.md" :content (nth input-strings 2))
        (p/markdown)
        (testing "detecting metadata additions"
          (value-test :path "public/test.html"
                      :value-fn #(meta= %1 %2 :foo "bar")
                      :msg "metadata additions should result in re-rendering"))

        (add-txt-file :path "test.md" :content (nth input-strings 0))
        (p/markdown)
        (testing "detecting metadata deletions"
          (value-test :path "public/test.html"
                      :value-fn #(meta= %1 %2 :foo nil)
                      :msg "metadata deletions should result in re-rendering"))

        (add-txt-file :path "test2.md" :content (nth input-strings 3))
        (p/markdown)
        (testing "detecting new files"
          (content-test :path "public/test2.html"
