Sha256: b726484ac2686dc57ffafcf7877762e879e542cb4fba3c162e8617a828bf60d9

Contents?: true

Size: 1.26 KB

Versions: 33

Compression:

Stored size: 1.26 KB

Contents

= Unicorn integration test suite

These are all integration tests that start the server on random, unused
TCP ports or Unix domain sockets.  They're all designed to run
concurrently with other tests to minimize test time, but tests may be
run independently as well.

We write our tests in Bourne shell because that's what we're
comfortable writing integration tests with.

== Requirements

* {Ruby 1.9.3+}[https://www.ruby-lang.org/] (duh!)
* {GNU make}[http://www.gnu.org/software/make/]
* {socat}[http://www.dest-unreach.org/socat/]
* {curl}[http://curl.haxx.se/]
* standard UNIX shell utilities (Bourne sh, awk, sed, grep, ...)

We do not use bashisms or any non-portable, non-POSIX constructs
in our shell code.  We use the "pipefail" option if available and
mainly test with {ksh}[http://kornshell.com/], but occasionally
with {dash}[http://gondor.apana.org.au/~herbert/dash/] and
{bash}[http://www.gnu.org/software/bash/], too.

== Running Tests

To run the entire test suite with 8 tests running at once:

  make -j8

To run one individual test:

  make t0000-simple-http.sh

You may also increase verbosity by setting the "V" variable for
GNU make.  To disable trapping of stdout/stderr:

  make V=1

To enable the "set -x" option in shell scripts to trace execution

  make V=2

Version data entries

33 entries across 33 versions & 5 rubygems

Version Path
unicorn-5.4.1 t/README
unicorn-5.4.0 t/README
unicorn-5.3.1 t/README
unicorn-shopify-5.3.0 t/README
unicorn-5.3.0 t/README
unicorn-5.3.0.pre1 t/README
unicorn-shopify-5.2.0.6 t/README
unicorn-shopify-5.2.0.5 t/README
unicorn-shopify-5.2.0.4 t/README
unicorn-shopify-5.2.0.3 t/README
unicorn-shopify-5.2.0.2 t/README
unicorn-shopify-5.2.0.1 t/README
unicorn-simon-0.0.7 t/README
unicorn-simon-0.0.6 t/README
unicorn-simon-0.0.5 t/README
unicorn-simon-0.0.4 t/README
unicorn-simon-0.0.3 t/README
unicorn-simon-0.0.2 t/README
unicorn-simon-0.0.1 t/README
unicorn-shopify-4.8.2.5.25 t/README