Sha256: 42a080569f8688cc33fa7738f1916a22e9989f9d3c47665a752754a698e6d45a

Contents?: true

Size: 1.55 KB

Versions: 2

Compression:

Stored size: 1.55 KB

Contents

Feature: Calais-Specific features
  In order to use the Calais Meta-Tagging Service
  As a developer
  I want to make some requests and inspect some responses

  @connection_needed
  Scenario: Post some very simple text to calais, inspect the response
	  Given I have some simple text
    When I post to calais
    Then I should get a response
	  And I should receive some tags

  @connection_needed
  Scenario: Post a mock story to calais, inspect the response
	  Given I have a sanitized sample BBC story
    When I post to calais
    Then I should get a response
    And I should receive some tags

  @connection_needed
	Scenario: Get nested tags from calais
	  Given I have some simple text
    When I request the nested entities from calais
    Then I should receive the entities grouped into categories
      
  Scenario: Clean up blank items from a calais response
  	Given I have a mock calais response
  	When I remove the unwanted items
  	Then I should receive some tags
   	And there should no longer be any "instances"
  	And there should no longer be any "relevance"
  	And there should no longer be any "blank"
   	And there should no longer be any "not_available"

  Scenario: Go through the calais response tags in a bit more detail
  	Given I have a mock calais response
  	When I remove the unwanted items
  	Then I should receive some tags
  	And there should be some "Organization" tags
	
  Scenario: Go through the calais response tags as a single array
  	Given I have a mock calais response
  	Then I should be able to see the whole lot of tags as one block	

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jakal-0.1.1 features/calais.feature
jakal-0.1.0 features/calais.feature