Skip navigation links
A B D E G I J L O R S T W 

A

AsynchronousBehaviour - Interface in io.hgc.jarspec.mixins
 

B

byAllOf(SpecificationNode...) - Method in interface io.hgc.jarspec.Specification
Convenience method providing a concise syntax for combining specifications into a list
ByMultiple - Interface in io.hgc.jarspec
Returns multiple SpecificationNode that represent the direct children of another
BySingle - Interface in io.hgc.jarspec
Returns a single SpecificationNode that represents the only direct child of another

D

describe(String, SpecificationNode...) - Method in interface io.hgc.jarspec.Specification
 
describe(String, BySingle) - Method in interface io.hgc.jarspec.Specification
 
describe(String, ByMultiple) - Method in interface io.hgc.jarspec.Specification
 

E

error(String, Throwable) - Static method in class io.hgc.jarspec.SpecificationNode
Factory method for error nodes in the tree representing a specification, indicating an exception thrown while building the specification tree itself.
ExceptionBehaviour - Interface in io.hgc.jarspec.mixins
Mixin providing convenience method for Specifications making statements about exception behaviour

G

get() - Method in interface io.hgc.jarspec.ByMultiple
 
get() - Method in interface io.hgc.jarspec.BySingle
 
getDescription() - Method in class io.hgc.jarspec.JarSpecJUnitRunner
 
getTimeoutMillis() - Method in interface io.hgc.jarspec.mixins.AsynchronousBehaviour
 

I

INITIAL_BACKOFF - Static variable in interface io.hgc.jarspec.mixins.AsynchronousBehaviour
 
internal(String, Stream<SpecificationNode>) - Static method in class io.hgc.jarspec.SpecificationNode
Factory method for internal nodes in the tree representing a specification.
io.hgc.jarspec - package io.hgc.jarspec
 
io.hgc.jarspec.mixins - package io.hgc.jarspec.mixins
 
it(String, Test) - Method in interface io.hgc.jarspec.Specification
 
it(String) - Method in interface io.hgc.jarspec.Specification
 
itThrows(Class<T>, String, Test) - Method in interface io.hgc.jarspec.mixins.ExceptionBehaviour
Statement that a unit should throw a specific exception for a particular case

J

JarSpecJUnitRunner<T extends Specification> - Class in io.hgc.jarspec
Test runner for executing JarSpec specifications under JUnit
JarSpecJUnitRunner(Class<T>) - Constructor for class io.hgc.jarspec.JarSpecJUnitRunner
 

L

leaf(String) - Static method in class io.hgc.jarspec.SpecificationNode
Factory method for leaf nodes in the tree representing a specification.
leaf(String, Test) - Static method in class io.hgc.jarspec.SpecificationNode
Factory method for leaf nodes in the tree representing a specification.

O

only() - Method in class io.hgc.jarspec.SpecificationNode
Mark this node to be run exclusively (along with its children and any other nodes similarly marked)

R

reset() - Method in interface io.hgc.jarspec.SpecificationNode.ResetSharedState
 
root() - Method in interface io.hgc.jarspec.Specification
 
run(RunNotifier) - Method in class io.hgc.jarspec.JarSpecJUnitRunner
 
run() - Method in interface io.hgc.jarspec.Test
Implementation of a test for a single statement in a specification.

S

skip() - Method in class io.hgc.jarspec.SpecificationNode
Mark this node to be skipped (along with its children and any other nodes similarly marked)
Specification - Interface in io.hgc.jarspec
Represents a Specification consisting of statements about behaviour and automated tests for those statements.
SpecificationNode - Class in io.hgc.jarspec
Internal implementation of Specification as a tree structure.
SpecificationNode.ResetSharedState - Interface in io.hgc.jarspec
 

T

Test - Interface in io.hgc.jarspec
Represents a test for a statement in a specification.

W

waitFor(Test) - Method in interface io.hgc.jarspec.mixins.AsynchronousBehaviour
 
withReset(SpecificationNode.ResetSharedState) - Method in class io.hgc.jarspec.SpecificationNode
Define a reset operation to clean up shared state between tests
A B D E G I J L O R S T W 
Skip navigation links

Copyright © 2017. All rights reserved.