Liking cljdoc? Tell your friends :D

bract.core.dev-init

This namespace is solely for DEV mode initialization, typically suited for running tests from the command-line. To use this, simply 'require' it in the 'ns' macro of the namespace that expects DEV mode initialization:

(ns myapp
  (:require bract.core.dev-init))

A more elaborate (contrived) example is below:

(ns mycorp.myapp.foo-test
  (:require
    [mycorp.myapp.foo :as f]
    [clojure.test :refer [deftest is testing]]
    bract.core.dev-init))

In the snippets above the ns block ensures the initialized DEV environment by referring to bract.core.dev-init.

This namespace is solely for DEV mode initialization, typically suited for running tests from the command-line.
To use this, simply 'require' it in the 'ns' macro of the namespace that expects DEV mode initialization:

```clojure
(ns myapp
  (:require bract.core.dev-init))
```

A more elaborate (contrived) example is below:

```clojure
(ns mycorp.myapp.foo-test
  (:require
    [mycorp.myapp.foo :as f]
    [clojure.test :refer [deftest is testing]]
    bract.core.dev-init))
```

In the snippets above the ns block ensures the initialized DEV environment by referring to `bract.core.dev-init`.
raw docstring

No vars found in this namespace.

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close