Greeting Service Personalises Greeting Skips Unknown Locale / en - US
PassedTestGreetingService_PersonalisesGreeting_SkipsUnknownLocale tests that the service
skips producing a greeting for locales that are not yet supported.
Given a registered user named tc user name with locale tc locale Skipping this one if locale is not english tc locale "locale % s is not yet supported" tc locale When a greeting is requested Then Assert that captured "greeting" is equal to "hello alice !"
PASSED
| locale | en-US |
|---|---|
| userName | Alice |
Greeting Service Personalises Greeting Skips Unknown Locale / fr - FR
SkippedTestGreetingService_PersonalisesGreeting_SkipsUnknownLocale tests that the service
skips producing a greeting for locales that are not yet supported.
Given a registered user named tc user name with locale tc locale Skipping this one if locale is not english tc locale "locale % s is not yet supported" tc locale When a greeting is requested Then Assert that captured "greeting" is equal to "hello alice !"
SKIPPED locale fr-FR is not yet supported
| locale | fr-FR |
|---|---|
| userName | Marie |
Greeting Service Personalises Greeting Non Default Param Name
PassedTestGreetingService_PersonalisesGreeting_NonDefaultParamName verifies that gogiven
correctly parses test functions that use non-standard testing parameter names.
Given a registered user named "alice" When a greeting is requested Then Noting that the greeting should address the user by their registered name Assert that captured "greeting" is equal to "hello alice !"
PASSED
| userName | Alice |
|---|
Greeting Service Returns Default Greeting
PassedTestGreetingService_ReturnsDefaultGreeting verifies that the service returns a
default greeting message when no user context is provided.
When a default greeting is requested Then Assert that captured "greeting" is equal to "hello world !"
PASSED
Greeting Service Personalises Greeting
PassedTestGreetingService_PersonalisesGreeting verifies that the greeting service
generates a personalised message for a registered user.
Given a registered user named "alice" When a greeting is requested Then Noting that the greeting should address the user by their registered name Assert that captured "greeting" is equal to "hello alice !"
PASSED
| userName | Alice |
|---|
Greeting Service Personalises Greeting For Many Users
PassedTestGreetingService_PersonalisesGreeting_ForManyUsers tests that the greeting service
produces the correct personalised greeting for a range of user names.
Comments on new lines will be split into paragraph sections.
Each test case verifies that the greeting contains exactly the expected number of characters.
Given a registered user named tc user name When a greeting is requested Then Noting that the greeting length should match the length of the formatted output Assert that captured "greeting" has length tc expected length
PASSED
| userName | Li |
|---|
Greeting Service Personalises Greeting For Many Users
PassedTestGreetingService_PersonalisesGreeting_ForManyUsers tests that the greeting service
produces the correct personalised greeting for a range of user names.
Comments on new lines will be split into paragraph sections.
Each test case verifies that the greeting contains exactly the expected number of characters.
Given a registered user named tc user name When a greeting is requested Then Noting that the greeting length should match the length of the formatted output Assert that captured "greeting" has length tc expected length
PASSED
| userName | Alice |
|---|