KKlochko
f384ce5fe5
Add SimpleEmptyTest and its tests.
2 years ago
KKlochko
5c1e69ed32
Add the error for an empty test.
2 years ago
KKlochko
2e12fdbd34
Update the titles for SimpleFailedThenTest and SimpleGivenWhenThenTest.
2 years ago
KKlochko
95a29a14fe
Update the tests to test the multi-block test.
2 years ago
KKlochko
d69cf31964
Add a multi-block test.
2 years ago
KKlochko
79c2f159e1
Add the multi-block tests support.
2 years ago
KKlochko
b99f90132a
Add the main entry point.
2 years ago
KKlochko
3d6b7b4d58
Add a constructor to set only a formatter for CLIReporter.
2 years ago
KKlochko
d1399dac02
Add the CLITestRunner to run tests and to report the result.
2 years ago
KKlochko
59d8fe7a4f
Update the CLI test formatting.
2 years ago
KKlochko
c27d3eca13
Add the SingleTestLoader to create an object of a loaded Test class.
2 years ago
KKlochko
1e3446a431
Add a constructor with a default factory for TestCommandQueueFactory.
2 years ago
KKlochko
b1ef8dc32f
Fix the test title for SingleTestClassLoader.
2 years ago
KKlochko
b57b005d97
Add the CLIReporter and its tests.
2 years ago
KKlochko
9945480a6a
Add the AbstractReporter.
2 years ago
KKlochko
df7c7e2b9f
Add default constructor for SimpleTestReportFormatter.
2 years ago
KKlochko
ff09435c04
Refactor the SimpleTestReportFormatter to use the interface.
2 years ago
KKlochko
6d76646d16
Add the AbstractTestReportFormatter.
2 years ago
KKlochko
696037c2d3
Add the SimpleTestReportFormatter.
2 years ago
KKlochko
189ba44c1d
Add the TestCommandMetaDataFactory to generate the metadata.
2 years ago
KKlochko
bcdd11c5a3
Add the ClassLoader.
2 years ago
KKlochko
19f638e091
Fix typos and improve description in the tests.
2 years ago
KKlochko
38f4cf3464
Add the NameClassLoader.
2 years ago
KKlochko
db0c3da413
Add the single class loader.
2 years ago
KKlochko
75e30ddae9
Add the queue factory for test commands.
2 years ago
KKlochko
9056c8d047
Add Abstract and Simple factories to create a test runner.
2 years ago
KKlochko
a1b85e3771
Refactor the SimpleTestRunner and its test.
2 years ago
KKlochko
0683be643f
Refactor tests for the SimpleTestRunner.
2 years ago
KKlochko
e67bdc4bb0
Fix the BlockDecorator to throw the AsssertionError, if any.
2 years ago
KKlochko
9a14ea6486
Add SimpleTestRunner as a test runner.
2 years ago
KKlochko
efb644e6a9
Add the create method for the TestCommandFactory.
2 years ago
KKlochko
6a3d7f4f42
Add the test block decorator.
2 years ago
KKlochko
6feb7f87dc
Add abstract and simple test commands.
2 years ago
KKlochko
47af8b4522
Add a test example without a title annotation.
2 years ago
KKlochko
db8fe1fc47
Update test examples to have annotations with values.
2 years ago
KKlochko
e803452389
Add the Title annotation.
2 years ago
KKlochko
08c85459a7
Add the TestCommandFactory with a getTestMethods.
2 years ago
KKlochko
9edbca09cf
Add the Test class as ABC.
2 years ago
KKlochko
b3a010f6e9
Add test examples.
2 years ago
KKlochko
b1332c838b
Refactor the Sum class to be moved into the samples package.
2 years ago
KKlochko
df1261f31c
Add the Given-When-Then annotations.
2 years ago
KKlochko
38a6eeb889
Remove the test examples.
2 years ago
KKlochko
4136775a1f
Add the Sum class to test as an example.
2 years ago
Alexander Kriegisch
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".
5 years ago
Alexander Kriegisch
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).
7 years ago
Andrii
c2dc1af9ab
Javadoc & import clean up ( #20 )
...
- replace full class name with import
- use modern javadoc tags
7 years ago
Roy Truelove
e5d3ae46ab
Simple typo fix
11 years ago
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)
13 years ago
Peter Niederwieser
d757c5a954
initial commit
13 years ago