FC4

Developing and Testing FC4

This page contains docs for those wishing to work on the tool itself.

For background, installation, and usage of the tool, see the home page.

Requirements

Running the Tests

  1. Ensure that Docker is running
  2. Ensure that your connection to the Internet is working well
    1. (The first time you run the tests, the Docker containers will be built; this requires downloading the Internet.)
  3. Run: STRUCTURIZR_LICENSE_KEY=<REPLACE_ME> bin/tests

Starting a REPL for Dev/Test

  1. Ensure that Docker is running
  2. Ensure that your connection to the Internet is working well
    1. (The first time you run the tests, the Docker containers will be built; this requires downloading the Internet.)
  3. Run: STRUCTURIZR_LICENSE_KEY=<REPLACE_ME> bin/repl

Running the tests in the REPL

=> (require '[eftest.runner :refer [find-tests run-tests]])
=> (defn beep [] (print (char 7))) ; to get your attention
=> (do (run-tests (find-tests "test") {:fail-fast? true}) beep)
...

Running the Linter

For linting, this project uses cljfmt, via cljfmt-runner.