Sha256: ece50c524bedea9e062f7fc15ba9c1386fd1f1adb97c3c565fc61032c51f5dcd

Contents?: true

Size: 1.26 KB

Versions: 12

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/en/] (duh!)
* {GNU make}[https://www.gnu.org/software/make/]
* {socat}[http://www.dest-unreach.org/socat/]
* {curl}[https://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}[https://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

12 entries across 12 versions & 1 rubygems

Version Path
unicorn-6.0.0 t/README
unicorn-5.8.0 t/README
unicorn-5.7.0 t/README
unicorn-5.6.0 t/README
unicorn-5.5.5 t/README
unicorn-5.5.4 t/README
unicorn-5.5.3 t/README
unicorn-5.5.2 t/README
unicorn-5.5.1 t/README
unicorn-5.5.0.1.g6836 t/README
unicorn-5.5.0 t/README
unicorn-5.5.0.pre1 t/README