From 43055117df6e8ae1511da4827c27a47bfd2a6ef5 Mon Sep 17 00:00:00 2001 From: Thomas Levine Date: Thu, 11 Oct 2012 00:56:18 -0400 Subject: [PATCH] count successes and failures --- tests/counting/.fixture/faila | 3 +++ tests/counting/.fixture/failb | 3 +++ tests/counting/.fixture/failc | 3 +++ tests/counting/.fixture/passa | 3 +++ tests/counting/.fixture/passb | 3 +++ tests/counting/.fixture/passc | 3 +++ tests/counting/.fixture/passd | 3 +++ tests/counting/.fixture/passe | 3 +++ tests/counting/.fixture/passf | 3 +++ tests/counting/.fixture/passg | 3 +++ tests/counting/seven_successes | 3 +++ tests/counting/three_failures | 3 +++ 12 files changed, 36 insertions(+) create mode 100755 tests/counting/.fixture/faila create mode 100755 tests/counting/.fixture/failb create mode 100755 tests/counting/.fixture/failc create mode 100755 tests/counting/.fixture/passa create mode 100755 tests/counting/.fixture/passb create mode 100755 tests/counting/.fixture/passc create mode 100755 tests/counting/.fixture/passd create mode 100755 tests/counting/.fixture/passe create mode 100755 tests/counting/.fixture/passf create mode 100755 tests/counting/.fixture/passg create mode 100755 tests/counting/seven_successes create mode 100755 tests/counting/three_failures diff --git a/tests/counting/.fixture/faila b/tests/counting/.fixture/faila new file mode 100755 index 0000000..2bb8d86 --- /dev/null +++ b/tests/counting/.fixture/faila @@ -0,0 +1,3 @@ +#!/bin/sh + +exit 1 diff --git a/tests/counting/.fixture/failb b/tests/counting/.fixture/failb new file mode 100755 index 0000000..2bb8d86 --- /dev/null +++ b/tests/counting/.fixture/failb @@ -0,0 +1,3 @@ +#!/bin/sh + +exit 1 diff --git a/tests/counting/.fixture/failc b/tests/counting/.fixture/failc new file mode 100755 index 0000000..2bb8d86 --- /dev/null +++ b/tests/counting/.fixture/failc @@ -0,0 +1,3 @@ +#!/bin/sh + +exit 1 diff --git a/tests/counting/.fixture/passa b/tests/counting/.fixture/passa new file mode 100755 index 0000000..c52d3c2 --- /dev/null +++ b/tests/counting/.fixture/passa @@ -0,0 +1,3 @@ +#!/bin/sh + +exit 0 diff --git a/tests/counting/.fixture/passb b/tests/counting/.fixture/passb new file mode 100755 index 0000000..c52d3c2 --- /dev/null +++ b/tests/counting/.fixture/passb @@ -0,0 +1,3 @@ +#!/bin/sh + +exit 0 diff --git a/tests/counting/.fixture/passc b/tests/counting/.fixture/passc new file mode 100755 index 0000000..c52d3c2 --- /dev/null +++ b/tests/counting/.fixture/passc @@ -0,0 +1,3 @@ +#!/bin/sh + +exit 0 diff --git a/tests/counting/.fixture/passd b/tests/counting/.fixture/passd new file mode 100755 index 0000000..c52d3c2 --- /dev/null +++ b/tests/counting/.fixture/passd @@ -0,0 +1,3 @@ +#!/bin/sh + +exit 0 diff --git a/tests/counting/.fixture/passe b/tests/counting/.fixture/passe new file mode 100755 index 0000000..c52d3c2 --- /dev/null +++ b/tests/counting/.fixture/passe @@ -0,0 +1,3 @@ +#!/bin/sh + +exit 0 diff --git a/tests/counting/.fixture/passf b/tests/counting/.fixture/passf new file mode 100755 index 0000000..c52d3c2 --- /dev/null +++ b/tests/counting/.fixture/passf @@ -0,0 +1,3 @@ +#!/bin/sh + +exit 0 diff --git a/tests/counting/.fixture/passg b/tests/counting/.fixture/passg new file mode 100755 index 0000000..c52d3c2 --- /dev/null +++ b/tests/counting/.fixture/passg @@ -0,0 +1,3 @@ +#!/bin/sh + +exit 0 diff --git a/tests/counting/seven_successes b/tests/counting/seven_successes new file mode 100755 index 0000000..984848a --- /dev/null +++ b/tests/counting/seven_successes @@ -0,0 +1,3 @@ +#!/bin/sh + +../../urchin .fixture | grep '7 tests failed.' diff --git a/tests/counting/three_failures b/tests/counting/three_failures new file mode 100755 index 0000000..dee2853 --- /dev/null +++ b/tests/counting/three_failures @@ -0,0 +1,3 @@ +#!/bin/sh + +../../urchin .fixture | grep '3 tests passed.'