Commit Graph
26 Commits
Author SHA1 Message Date
KKlochko db0c3da413 Add the single class loader.
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-09-29 20:47:36 +03:00
KKlochko 75e30ddae9 Add the queue factory for test commands.
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-09-27 21:56:12 +03:00
KKlochko 9056c8d047 Add Abstract and Simple factories to create a test runner.
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-09-26 22:17:17 +03:00
KKlochko a1b85e3771 Refactor the SimpleTestRunner and its test.
continuous-integration/drone/tag Build is passing
2023-09-26 22:14:55 +03:00
KKlochko 0683be643f Refactor tests for the SimpleTestRunner.
continuous-integration/drone/push Build is passing
2023-09-25 17:09:18 +03:00
KKlochko e67bdc4bb0 Fix the BlockDecorator to throw the AsssertionError, if any.
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-09-24 21:52:25 +03:00
KKlochko 9a14ea6486 Add SimpleTestRunner as a test runner.
continuous-integration/drone/tag Build is failing
2023-09-24 21:48:49 +03:00
KKlochko efb644e6a9 Add the create method for the TestCommandFactory. 2023-09-23 21:43:56 +03:00
KKlochko 6a3d7f4f42 Add the test block decorator. 2023-09-23 21:41:42 +03:00
KKlochko 6feb7f87dc Add abstract and simple test commands. 2023-09-23 21:34:54 +03:00
KKlochko 47af8b4522 Add a test example without a title annotation. 2023-09-23 21:31:23 +03:00
KKlochko db8fe1fc47 Update test examples to have annotations with values. 2023-09-23 21:31:01 +03:00
KKlochko e803452389 Add the Title annotation. 2023-09-23 21:25:26 +03:00
KKlochko 08c85459a7 Add the TestCommandFactory with a getTestMethods. 2023-09-20 22:23:18 +03:00
KKlochko 9edbca09cf Add the Test class as ABC. 2023-09-20 22:19:41 +03:00
KKlochko b3a010f6e9 Add test examples. 2023-09-20 20:35:30 +03:00
KKlochko b1332c838b Refactor the Sum class to be moved into the samples package. 2023-09-20 20:33:44 +03:00
KKlochko df1261f31c Add the Given-When-Then annotations. 2023-09-19 22:07:23 +03:00
KKlochko 38a6eeb889 Remove the test examples. 2023-09-19 22:01:22 +03:00
KKlochko 4136775a1f Add the Sum class to test as an example. 2023-09-19 22:01:10 +03:00
Alexander KriegischandGitHub 744bf74767 Upgrade Maven project to Spock 2.0-M3, ... (#35)
* Sync Spock dependency versions
* Now that Spock no longer depends on 'groovy-all', for the database test it was
  necessary to add 'groovy-sql'.
* Make feature method names friendlier in unrolled DatabaseDrivenSpec
* Make IncludeExcludeExtensionSpec print messages
  This way the user can verify visually that in-/excludes actually work as
  expected.
* Upgrade Groovy 2.5.12 -> 2.5.13
* Slightly adjust README.adoc 
  Change passive style "all feedback is appreciated" to active style "we
  appreciate all feedback".
2020-08-25 23:27:03 +02:00
Alexander KriegischandLeonard Brünings 043ef1319e Improve Javadoc of IncludeExcludeExtensionSpec, Remove static block (#26)
Setting system property "spock.configuration" during class
initialisation is too late for Spock to pick up the config, so the
static block is pointless and misleads users to believe they can
actually configure the system this way.

Instead the Javadoc was amended by information how to set the system
property via '-D' JVM command-line argument when running a test from an
IDE (or from the command line, for that matter).
2018-09-24 22:11:13 +02:00
AndriiandLeonard Brünings c2dc1af9ab Javadoc & import clean up (#20)
- replace full class name with import
- use modern javadoc tags
2018-01-18 03:29:47 +01:00
Roy Truelove e5d3ae46ab Simple typo fix 2014-03-02 21:31:46 -05:00
Peter Niederwieser 357b2dde35 updated gradle to 1.0
updated all builds to latest library versions
renamed specs to end in 'Spec' (easiest solution until we have a plugin for Maven 3.0)
2012-07-14 07:33:41 +02:00
Peter Niederwieser d757c5a954 initial commit 2012-02-28 03:19:11 +01:00