Class HyperstateTests

0

tests

0

failures

0

ignored

-

duration

-

successful

Tests

Test Duration Result

Standard output

Feature: Service Exposer
    In order minimise the code I need to write to produce a service
    and to ensure consistency for the services I create
    As a service developer
    I want to have REST services automatically created for my domain entity classes

  Scenario: Expose single domain entity                                                                                        ?[90m# serviceExposer.feature:21?[0m
    ?[32mGiven ?[0m?[32man "?[0m?[32m?[1mAccount?[0m?[32m" domain entity with?[0m                                                                                      ?[90m# StepDefs.an_domain_entity_with(String,String,String>)?[0m
    ?[32mAnd ?[0m?[32mit has no actions?[0m                                                                                                      ?[90m# StepDefs.it_has_no_actions()?[0m
    ?[32mAnd ?[0m?[32mit's only link is self link referencing "?[0m?[32m?[1m/hyperstateTest/test/testAccount?[0m?[32m"?[0m                                             ?[90m# StepDefs.it_s_only_link_is_self_link_referencing(String)?[0m
    ?[32mAnd ?[0m?[32mit is exposed at "?[0m?[32m?[1m/hyperstateTest/test/testAccount?[0m?[32m"?[0m                                                                    ?[90m# StepDefs.it_is_exposed_at(String)?[0m
    ?[32mWhen ?[0m?[32mrequest is made to "?[0m?[32m?[1m/hyperstateTest/test/testAccount?[0m?[32m" for an "?[0m?[32m?[1mau.com.mountainpass.hyperstate.server.entities.Account?[0m?[32m"?[0m ?[90m# StepDefs.request_is_made_to_for_an(String,String)?[0m
    ?[32mThen ?[0m?[32mthe response will be an "?[0m?[32m?[1mAccount?[0m?[32m" domain entity with?[0m                                                                  ?[90m# StepDefs.the_response_will_be_an_domain_entity_with(String,String,String>)?[0m
    ?[32mAnd ?[0m?[32mit will have no actions?[0m                                                                                                ?[90m# StepDefs.it_will_have_no_actions()?[0m
    ?[32mAnd ?[0m?[32mit will have no links apart from "?[0m?[32m?[1mself?[0m?[32m"?[0m                                                                                ?[90m# StepDefs.it_will_have_no_links_apart_from(String)?[0m
    ?[32mAnd ?[0m?[32mit will have a self link referencing "?[0m?[32m?[1m/hyperstateTest/test/testAccount?[0m?[32m"?[0m                                                ?[90m# StepDefs.it_will_have_a_self_link_referencing(String)?[0m

3 Scenarios (?[32m3 passed?[0m)
18 Steps (?[32m18 passed?[0m)
0m0.245s