Liking cljdoc? Tell your friends :D

monkey.ci.test

This is the basic namespace to use in unit tests. It provides various functions that can be used to simulate a MonkeyCI build environment.

This is the basic namespace to use in unit tests.  It provides various functions that
can be used to simulate a MonkeyCI build environment.
raw docstring

addedclj

(added files)

Defines a set of added (i.e. new) files. To be used with the xxx-changes functions.

Defines a set of added (i.e. new) files.  To be used with the `xxx-changes` functions.
raw docstring

checkout-dirclj

Retrieves configured checkout dir in the context

Retrieves configured checkout dir in the context
raw docstring

execute-jobclj

(execute-job job ctx)

Executes given job with specified context. Look out for side effects!

Executes given job with specified context. Look out for side effects!
raw docstring

modifiedclj

(modified files)

Defines a set of modified files.

Defines a set of modified files.
raw docstring

removedclj

(removed files)

Defines a set of removed files.

Defines a set of removed files.
raw docstring

resolve-jobsclj

(resolve-jobs jobs ctx)

Given one or more unresolved jobs, resolves them using the given context. This is useful if you want to get a full list of the actual jobs that MonkeyCI will run given a specific context.

Given one or more unresolved jobs, resolves them using the given context.  This is
useful if you want to get a full list of the actual jobs that MonkeyCI will run given
a specific context.
raw docstring

set-changesclj

(set-changes ctx changes)

Overwrites context file changes

Overwrites context file changes
raw docstring

test-ctxclj

Basic test context, to use in test jobs

Basic test context, to use in test jobs
raw docstring

update-changesclj

(update-changes ctx f & args)

Updates context file changes

Updates context file changes
raw docstring

with-build-paramscljmacro

(with-build-params params & body)

Simulates given build parameters for the body to execute

Simulates given build parameters for the body to execute
raw docstring

with-build-params*clj

(with-build-params* params f)

with-changesclj

(with-changes ctx changes)

Adds given file set to the context file changes

Adds given file set to the context file changes
raw docstring

with-checkout-dirclj

(with-checkout-dir ctx dir)

Sets the given directory as the build checkout dir in the context

Sets the given directory as the build checkout dir in the context
raw docstring

with-git-refclj

(with-git-ref ctx ref)

Sets given ref in the context git configuration

Sets given ref in the context git configuration
raw docstring

with-tmp-checkout-dirclj

(with-tmp-checkout-dir ctx)

Configures a temporary checkout directory in the context

Configures a temporary checkout directory in the context
raw docstring

with-tmp-dircljmacro

(with-tmp-dir dir & body)

with-tmp-dir*clj

(with-tmp-dir* f)

Creates a temp dir, then invokes f on it

Creates a temp dir, then invokes `f` on it
raw docstring

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

× close