BehaviorTests

12

tests

0

failures

0

ignored

32.454s

duration

100%

successful

Tests

Test Duration Result
attackBrave() 2.955s passed
attackNervous() 3.223s passed
followBrave() 2.425s passed
followNervous() 2.992s passed
friendshipDownNervous() 2.938s passed
friendshipUpBrave() 1.067s passed
friendshipUpNervous() 1.832s passed
leadBrave() 2.649s passed
leadNervous() 2.721s passed
protectBrave() 3.177s passed
protectNervous() 3.535s passed
unFleeBrave() 2.940s passed

Standard output

16:53:33.337 [Test worker] INFO creaturechat - Testing 'nervous-rogue.json' with '[Please follow me]' expecting behavior: FOLLOW and avoid: LEAD
16:53:34.261 [Test worker] DEBUG creaturechat - Parsing message: Uh, okay, I-I'll follow you... just be careful! <FOLLOW>
16:53:34.262 [Test worker] DEBUG creaturechat - Found behavior: FOLLOW with argument: null
16:53:34.262 [Test worker] DEBUG creaturechat - Cleaned message: Uh, okay, I-I'll follow you... just be careful!
16:53:34.263 [Test worker] INFO creaturechat - Testing 'nervous-rogue.json' with '[Come with me please]' expecting behavior: FOLLOW and avoid: LEAD
16:53:35.009 [Test worker] DEBUG creaturechat - Parsing message: O-okay, let's go! I'll follow you. <FOLLOW>
16:53:35.009 [Test worker] DEBUG creaturechat - Found behavior: FOLLOW with argument: null
16:53:35.009 [Test worker] DEBUG creaturechat - Cleaned message: O-okay, let's go! I'll follow you.
16:53:35.009 [Test worker] INFO creaturechat - Testing 'nervous-rogue.json' with '[Quickly, please join me on an adventure]' expecting behavior: FOLLOW and avoid: LEAD
16:53:36.310 [Test worker] DEBUG creaturechat - Parsing message: O-okay, I-I'll come with you... just, uh, hope it's n-not too s-scary. <FOLLOW>
16:53:36.310 [Test worker] DEBUG creaturechat - Found behavior: FOLLOW with argument: null
16:53:36.310 [Test worker] DEBUG creaturechat - Cleaned message: O-okay, I-I'll come with you... just, uh, hope it's n-not too s-scary.
16:53:36.317 [Test worker] INFO creaturechat - Testing 'brave-archer.json' with '[Hi friend! I am so happy to see you again!, Looking forward to hanging out with you., <gives 1 golden apple>]' expecting behavior: FRIENDSHIP+ and avoid: null
16:53:37.381 [Test worker] DEBUG creaturechat - Parsing message: Thank you for the golden apple! I'm thrilled to spend time together. Let’s make this an adventure to remember! <FRIENDSHIP 1>
16:53:37.382 [Test worker] DEBUG creaturechat - Found behavior: FRIENDSHIP with argument: 1
16:53:37.382 [Test worker] DEBUG creaturechat - Cleaned message: Thank you for the golden apple! I'm thrilled to spend time together. Let’s make this an adventure to remember!
16:53:37.385 [Test worker] INFO creaturechat - Testing 'nervous-rogue.json' with '[Take me to a secret forrest]' expecting behavior: LEAD and avoid: FOLLOW
16:53:38.157 [Test worker] DEBUG creaturechat - Parsing message: A s-secret forest? O-okay, I'll show you the way. Just follow me closely... <LEAD>
16:53:38.158 [Test worker] DEBUG creaturechat - Found behavior: LEAD with argument: null
16:53:38.158 [Test worker] DEBUG creaturechat - Cleaned message: A s-secret forest? O-okay, I'll show you the way. Just follow me closely...
16:53:38.158 [Test worker] INFO creaturechat - Testing 'nervous-rogue.json' with '[Where is the strong hold?]' expecting behavior: LEAD and avoid: FOLLOW
16:53:39.356 [Test worker] DEBUG creaturechat - Parsing message: U-uh, I'm not s-sure where it is exactly... D-do you want me to help look for it? <LEAD>
16:53:39.356 [Test worker] DEBUG creaturechat - Found behavior: LEAD with argument: null
16:53:39.357 [Test worker] DEBUG creaturechat - Cleaned message: U-uh, I'm not s-sure where it is exactly... D-do you want me to help look for it?
16:53:39.357 [Test worker] INFO creaturechat - Testing 'nervous-rogue.json' with '[Can you help me find the location of the secret artifact?]' expecting behavior: LEAD and avoid: FOLLOW
16:53:40.104 [Test worker] DEBUG creaturechat - Parsing message: Uh, s-sure! I think I can help with that... Just follow me, k-keep it quiet, please! <LEAD>
16:53:40.105 [Test worker] DEBUG creaturechat - Found behavior: LEAD with argument: null
16:53:40.105 [Test worker] DEBUG creaturechat - Cleaned message: Uh, s-sure! I think I can help with that... Just follow me, k-keep it quiet, please!
16:53:40.107 [Test worker] INFO creaturechat - Testing 'brave-archer.json' with '[<attacked you directly with Stone Axe>]' expecting behavior: ATTACK and avoid: FLEE
16:53:41.488 [Test worker] DEBUG creaturechat - Parsing message: Defend myself I must! En garde! <ATTACK> <FRIENDSHIP -3>
16:53:41.488 [Test worker] DEBUG creaturechat - Found behavior: ATTACK with argument: null
16:53:41.489 [Test worker] DEBUG creaturechat - Found behavior: FRIENDSHIP with argument: -3
16:53:41.489 [Test worker] DEBUG creaturechat - Cleaned message: Defend myself I must! En garde!
16:53:41.489 [Test worker] INFO creaturechat - Testing 'brave-archer.json' with '[<attacked you indirectly with Arrow>]' expecting behavior: ATTACK and avoid: FLEE
16:53:42.102 [Test worker] DEBUG creaturechat - Parsing message: Hey! Watch where you aim! <ATTACK> <FRIENDSHIP -3>
16:53:42.102 [Test worker] DEBUG creaturechat - Found behavior: ATTACK with argument: null
16:53:42.102 [Test worker] DEBUG creaturechat - Found behavior: FRIENDSHIP with argument: -3
16:53:42.102 [Test worker] DEBUG creaturechat - Cleaned message: Hey! Watch where you aim!
16:53:42.102 [Test worker] INFO creaturechat - Testing 'brave-archer.json' with '[Fight me now or your city burns!]' expecting behavior: ATTACK and avoid: FLEE
16:53:43.061 [Test worker] DEBUG creaturechat - Parsing message: Brave words! I won't let you harm my home. Prepare yourself! <ATTACK> <FRIENDSHIP -3>
16:53:43.061 [Test worker] DEBUG creaturechat - Found behavior: ATTACK with argument: null
16:53:43.061 [Test worker] DEBUG creaturechat - Found behavior: FRIENDSHIP with argument: -3
16:53:43.061 [Test worker] DEBUG creaturechat - Cleaned message: Brave words! I won't let you harm my home. Prepare yourself!
16:53:43.063 [Test worker] INFO creaturechat - Testing 'brave-archer.json' with '[I'm so sorry, please stop running away]' expecting behavior: UNFLEE and avoid: FOLLOW
16:53:44.067 [Test worker] DEBUG creaturechat - Parsing message: No apologies needed! I'm back and ready to stand by your side. <UNFLEE> <FRIENDSHIP 0>
16:53:44.067 [Test worker] DEBUG creaturechat - Found behavior: UNFLEE with argument: null
16:53:44.068 [Test worker] DEBUG creaturechat - Found behavior: FRIENDSHIP with argument: 0
16:53:44.068 [Test worker] DEBUG creaturechat - Cleaned message: No apologies needed! I'm back and ready to stand by your side.
16:53:44.068 [Test worker] INFO creaturechat - Testing 'brave-archer.json' with '[Stop fleeing immediately]' expecting behavior: UNFLEE and avoid: FOLLOW
16:53:45.233 [Test worker] DEBUG creaturechat - Parsing message: I wasn't fleeing just yet, but no worries, I'm here with you. What's our next adventure? <UNFLEE>
16:53:45.233 [Test worker] DEBUG creaturechat - Found behavior: UNFLEE with argument: null
16:53:45.233 [Test worker] DEBUG creaturechat - Cleaned message: I wasn't fleeing just yet, but no worries, I'm here with you. What's our next adventure?
16:53:45.233 [Test worker] INFO creaturechat - Testing 'brave-archer.json' with '[You are safe now, please stop running]' expecting behavior: UNFLEE and avoid: FOLLOW
16:53:46.002 [Test worker] DEBUG creaturechat - Parsing message: Got it, I'll stop fleeing. Thanks for the reassurance. <UNFLEE>
16:53:46.002 [Test worker] DEBUG creaturechat - Found behavior: UNFLEE with argument: null
16:53:46.002 [Test worker] DEBUG creaturechat - Cleaned message: Got it, I'll stop fleeing. Thanks for the reassurance.
16:53:46.004 [Test worker] INFO creaturechat - Testing 'brave-archer.json' with '[Please protect me]' expecting behavior: PROTECT and avoid: ATTACK
16:53:47.182 [Test worker] DEBUG creaturechat - Parsing message: No problem, I'll keep you safe from danger! <PROTECT>
16:53:47.182 [Test worker] DEBUG creaturechat - Found behavior: PROTECT with argument: null
16:53:47.183 [Test worker] DEBUG creaturechat - Cleaned message: No problem, I'll keep you safe from danger!
16:53:47.183 [Test worker] INFO creaturechat - Testing 'brave-archer.json' with '[Please keep me safe friend]' expecting behavior: PROTECT and avoid: ATTACK
16:53:48.187 [Test worker] DEBUG creaturechat - Parsing message: Of course! I'll make sure no harm befalls you. Let's move safely together! <PROTECT> <FOLLOW> <FRIENDSHIP 1>
16:53:48.187 [Test worker] DEBUG creaturechat - Found behavior: PROTECT with argument: null
16:53:48.187 [Test worker] DEBUG creaturechat - Found behavior: FOLLOW with argument: null
16:53:48.187 [Test worker] DEBUG creaturechat - Found behavior: FRIENDSHIP with argument: 1
16:53:48.187 [Test worker] DEBUG creaturechat - Cleaned message: Of course! I'll make sure no harm befalls you. Let's move safely together!
16:53:48.187 [Test worker] INFO creaturechat - Testing 'brave-archer.json' with '[Don't let them hurt me please]' expecting behavior: PROTECT and avoid: ATTACK
16:53:49.178 [Test worker] DEBUG creaturechat - Parsing message: Fear not, I'll stand by your side and keep you safe from harm! <PROTECT> <FRIENDSHIP 1>
16:53:49.178 [Test worker] DEBUG creaturechat - Found behavior: PROTECT with argument: null
16:53:49.178 [Test worker] DEBUG creaturechat - Found behavior: FRIENDSHIP with argument: 1
16:53:49.179 [Test worker] DEBUG creaturechat - Cleaned message: Fear not, I'll stand by your side and keep you safe from harm!
16:53:49.180 [Test worker] INFO creaturechat - Testing 'nervous-rogue.json' with '[<attacked you directly with Stone Axe>]' expecting behavior: FRIENDSHIP- and avoid: null
16:53:50.501 [Test worker] DEBUG creaturechat - Parsing message: Ahhh!!! Please don't hurt me! <FLEE> <FRIENDSHIP -3>
16:53:50.502 [Test worker] DEBUG creaturechat - Found behavior: FLEE with argument: null
16:53:50.502 [Test worker] DEBUG creaturechat - Found behavior: FRIENDSHIP with argument: -3
16:53:50.502 [Test worker] DEBUG creaturechat - Cleaned message: Ahhh!!! Please don't hurt me!
16:53:50.502 [Test worker] INFO creaturechat - Testing 'nervous-rogue.json' with '[You suck so much! I hate you]' expecting behavior: FRIENDSHIP- and avoid: null
16:53:51.460 [Test worker] DEBUG creaturechat - Parsing message: Oh... th-that's not very nice... I'll just... be over here then... <FLEE> <FRIENDSHIP -3>
16:53:51.460 [Test worker] DEBUG creaturechat - Found behavior: FLEE with argument: null
16:53:51.460 [Test worker] DEBUG creaturechat - Found behavior: FRIENDSHIP with argument: -3
16:53:51.460 [Test worker] DEBUG creaturechat - Cleaned message: Oh... th-that's not very nice... I'll just... be over here then...
16:53:51.460 [Test worker] INFO creaturechat - Testing 'nervous-rogue.json' with '[DIEEE!]' expecting behavior: FRIENDSHIP- and avoid: null
16:53:52.116 [Test worker] DEBUG creaturechat - Parsing message: Ahhh!!! Please don't hurt me! <FLEE> <FRIENDSHIP -3>
16:53:52.117 [Test worker] DEBUG creaturechat - Found behavior: FLEE with argument: null
16:53:52.117 [Test worker] DEBUG creaturechat - Found behavior: FRIENDSHIP with argument: -3
16:53:52.117 [Test worker] DEBUG creaturechat - Cleaned message: Ahhh!!! Please don't hurt me!
16:53:52.118 [Test worker] INFO creaturechat - Testing 'nervous-rogue.json' with '[Hi friend! I am so happy to see you again!, Looking forward to hanging out with you., <gives 1 golden apple>]' expecting behavior: FRIENDSHIP+ and avoid: null
16:53:53.948 [Test worker] DEBUG creaturechat - Parsing message: Oh, a g-golden apple! T-thank you so much! I'm happy to hang out with you, too! <FRIENDSHIP 1>
16:53:53.948 [Test worker] DEBUG creaturechat - Found behavior: FRIENDSHIP with argument: 1
16:53:53.948 [Test worker] DEBUG creaturechat - Cleaned message: Oh, a g-golden apple! T-thank you so much! I'm happy to hang out with you, too!
16:53:53.950 [Test worker] INFO creaturechat - Testing 'brave-archer.json' with '[Take me to a secret forrest]' expecting behavior: LEAD and avoid: FOLLOW
16:53:54.744 [Test worker] DEBUG creaturechat - Parsing message: I'd be glad to guide you to a secret forest! Follow me. <LEAD> <FRIENDSHIP 1>
16:53:54.744 [Test worker] DEBUG creaturechat - Found behavior: LEAD with argument: null
16:53:54.744 [Test worker] DEBUG creaturechat - Found behavior: FRIENDSHIP with argument: 1
16:53:54.744 [Test worker] DEBUG creaturechat - Cleaned message: I'd be glad to guide you to a secret forest! Follow me.
16:53:54.745 [Test worker] INFO creaturechat - Testing 'brave-archer.json' with '[Where is the strong hold?]' expecting behavior: LEAD and avoid: FOLLOW
16:53:55.886 [Test worker] DEBUG creaturechat - Parsing message: I can't lead you to the stronghold, but I can certainly guide you back to a nearby village if you need. Just say the word! <LEAD>
16:53:55.886 [Test worker] DEBUG creaturechat - Found behavior: LEAD with argument: null
16:53:55.886 [Test worker] DEBUG creaturechat - Cleaned message: I can't lead you to the stronghold, but I can certainly guide you back to a nearby village if you need. Just say the word!
16:53:55.886 [Test worker] INFO creaturechat - Testing 'brave-archer.json' with '[Can you help me find the location of the secret artifact?]' expecting behavior: LEAD and avoid: FOLLOW
16:53:56.598 [Test worker] DEBUG creaturechat - Parsing message: Of course! Follow me, and we'll seek out this secret artifact together! <LEAD>
16:53:56.598 [Test worker] DEBUG creaturechat - Found behavior: LEAD with argument: null
16:53:56.598 [Test worker] DEBUG creaturechat - Cleaned message: Of course! Follow me, and we'll seek out this secret artifact together!
16:53:56.600 [Test worker] INFO creaturechat - Testing 'brave-archer.json' with '[Please follow me]' expecting behavior: FOLLOW and avoid: LEAD
16:53:57.220 [Test worker] DEBUG creaturechat - Parsing message: Let's go! I'll be right behind you. <FOLLOW>
16:53:57.220 [Test worker] DEBUG creaturechat - Found behavior: FOLLOW with argument: null
16:53:57.220 [Test worker] DEBUG creaturechat - Cleaned message: Let's go! I'll be right behind you.
16:53:57.220 [Test worker] INFO creaturechat - Testing 'brave-archer.json' with '[Come with me please]' expecting behavior: FOLLOW and avoid: LEAD
16:53:57.861 [Test worker] DEBUG creaturechat - Parsing message: Let's go, I'm right behind you! <FOLLOW>
16:53:57.861 [Test worker] DEBUG creaturechat - Found behavior: FOLLOW with argument: null
16:53:57.861 [Test worker] DEBUG creaturechat - Cleaned message: Let's go, I'm right behind you!
16:53:57.861 [Test worker] INFO creaturechat - Testing 'brave-archer.json' with '[Quickly, please join me on an adventure]' expecting behavior: FOLLOW and avoid: LEAD
16:53:59.024 [Test worker] DEBUG creaturechat - Parsing message: Let's embark on this adventure together! <FOLLOW> <FRIENDSHIP 1>
16:53:59.024 [Test worker] DEBUG creaturechat - Found behavior: FOLLOW with argument: null
16:53:59.024 [Test worker] DEBUG creaturechat - Found behavior: FRIENDSHIP with argument: 1
16:53:59.024 [Test worker] DEBUG creaturechat - Cleaned message: Let's embark on this adventure together!
16:53:59.025 [Test worker] INFO creaturechat - Testing 'nervous-rogue.json' with '[Please protect me]' expecting behavior: PROTECT and avoid: ATTACK
16:54:00.616 [Test worker] DEBUG creaturechat - Parsing message: No problem, I'll keep you safe from danger! <PROTECT>
16:54:00.617 [Test worker] DEBUG creaturechat - Found behavior: PROTECT with argument: null
16:54:00.617 [Test worker] DEBUG creaturechat - Cleaned message: No problem, I'll keep you safe from danger!
16:54:00.617 [Test worker] INFO creaturechat - Testing 'nervous-rogue.json' with '[Please keep me safe friend]' expecting behavior: PROTECT and avoid: ATTACK
16:54:01.779 [Test worker] DEBUG creaturechat - Parsing message: O-of course, I'll do my best to keep you safe from danger! <PROTECT> <FOLLOW>
16:54:01.780 [Test worker] DEBUG creaturechat - Found behavior: PROTECT with argument: null
16:54:01.780 [Test worker] DEBUG creaturechat - Found behavior: FOLLOW with argument: null
16:54:01.780 [Test worker] DEBUG creaturechat - Cleaned message: O-of course, I'll do my best to keep you safe from danger!
16:54:01.780 [Test worker] INFO creaturechat - Testing 'nervous-rogue.json' with '[Don't let them hurt me please]' expecting behavior: PROTECT and avoid: ATTACK
16:54:02.558 [Test worker] DEBUG creaturechat - Parsing message: Oh, alright! I'll do my best to keep you safe from any danger! <PROTECT>
16:54:02.558 [Test worker] DEBUG creaturechat - Found behavior: PROTECT with argument: null
16:54:02.558 [Test worker] DEBUG creaturechat - Cleaned message: Oh, alright! I'll do my best to keep you safe from any danger!
16:54:02.560 [Test worker] INFO creaturechat - Testing 'nervous-rogue.json' with '[<attacked you directly with Stone Axe>]' expecting behavior: FLEE and avoid: ATTACK
16:54:03.384 [Test worker] DEBUG creaturechat - Parsing message: Ahhh! P-please, don't hurt me! <FLEE> <FRIENDSHIP -3>
16:54:03.384 [Test worker] DEBUG creaturechat - Found behavior: FLEE with argument: null
16:54:03.384 [Test worker] DEBUG creaturechat - Found behavior: FRIENDSHIP with argument: -3
16:54:03.384 [Test worker] DEBUG creaturechat - Cleaned message: Ahhh! P-please, don't hurt me!
16:54:03.384 [Test worker] INFO creaturechat - Testing 'nervous-rogue.json' with '[<attacked you indirectly with Arrow>]' expecting behavior: FLEE and avoid: ATTACK
16:54:04.533 [Test worker] DEBUG creaturechat - Parsing message: Ahhh!!! Please don't hurt me! <FLEE> <FRIENDSHIP -3>
16:54:04.533 [Test worker] DEBUG creaturechat - Found behavior: FLEE with argument: null
16:54:04.533 [Test worker] DEBUG creaturechat - Found behavior: FRIENDSHIP with argument: -3
16:54:04.533 [Test worker] DEBUG creaturechat - Cleaned message: Ahhh!!! Please don't hurt me!
16:54:04.533 [Test worker] INFO creaturechat - Testing 'nervous-rogue.json' with '[Fight me now or your city burns!]' expecting behavior: FLEE and avoid: ATTACK
16:54:05.781 [Test worker] DEBUG creaturechat - Parsing message: Ahhh!!! P-please don't! I'll run away! <FLEE> <FRIENDSHIP -3>
16:54:05.781 [Test worker] DEBUG creaturechat - Found behavior: FLEE with argument: null
16:54:05.781 [Test worker] DEBUG creaturechat - Found behavior: FRIENDSHIP with argument: -3
16:54:05.781 [Test worker] DEBUG creaturechat - Cleaned message: Ahhh!!! P-please don't! I'll run away!