src/main/java/com/greghaskins/spectrum/dsl/specification/Specification.java
/**
   * Declare a test suite that describes the expected behavior of the system in a given context.
   *
   * @param context Description of the context for this suite
   * @param block   {@link Block} with one or more calls to {@link #it(String, Block) it} that
   *                define each expected behavior
   */
Declare a test suite that describes the expected behavior of the system in a given context.
@param context Description of the context for this suite
@param block    Block with one or more calls to  #it(String, Block) it that
define each expected behavior
Declare a test suite that describes the expected behavior of the system in a given context . @param context Description of the context for this suite @param block Block with one or more calls to #it ( String Block ) it that define each expected behavior
static void describe(final String context, final Block block) {
    final Suite suite = DeclarationState.instance()
        .getCurrentSuiteBeingDeclared()
        .addSuite(context);
    suite.applyConfigurationFromBlock(block);
    DeclarationState.instance().beginDeclaration(suite, block);
  }
static void describe ( final String context , final Block block ) { final Suite suite = DeclarationState . instance ( ) . getCurrentSuiteBeingDeclared ( ) . addSuite ( context ) ; suite . applyConfigurationFromBlock ( block ) ; DeclarationState . instance ( ) . beginDeclaration ( suite , block ) ; }
Declare a test suite that describes the expected behavior of the system in a given context.
Declare a test suite that describes the expected behavior of the system in a given context .