Skip to content

Commit

Permalink
v3.2.1 (#39)
Browse files Browse the repository at this point in the history
* Add message filter and in-line options update (#28)

* added ability to filter messages

* added in line options modifier

* add builtin message filters

* add builtin message filters to options/config (#30)

* v3.1.0 (#32)

* add builtin message filters

* bump version for v3.1.0

* updated docs for publish

* added ignoreInternalSaveMessage option

* Add internal save ignore option (#35)

* v3.2.0

* fixed a redundant definition that came from a recursive merge strategy

* fix spelling error with ignoreInternalSaveMessage (#38)

* 3.2.1
  • Loading branch information
microsoftly committed Oct 11, 2017
1 parent 0b5c95c commit 411ee63
Show file tree
Hide file tree
Showing 21 changed files with 107 additions and 107 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Passing in the config overrides any default values or values set by bot-tester.j
ignoreTypingEvent: boolean,
ignoreEndOfConversationEvent: boolean,
// Setting this to true will cause checkSession to hang and test to fail.
ignoreInternalSveMessage?: boolean;
ignoreInternalSaveMessage?: boolean;

}
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/634d8ec/src/assertionLibraries/ChaiExpectation.ts#L32">assertionLibraries/ChaiExpectation.ts:32</a></li>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/be8c307/src/assertionLibraries/ChaiExpectation.ts#L32">assertionLibraries/ChaiExpectation.ts:32</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -155,7 +155,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> message</h3>
<div class="tsd-signature tsd-kind-icon">message<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/634d8ec/src/assertionLibraries/ChaiExpectation.ts#L32">assertionLibraries/ChaiExpectation.ts:32</a></li>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/be8c307/src/assertionLibraries/ChaiExpectation.ts#L32">assertionLibraries/ChaiExpectation.ts:32</a></li>
</ul>
</aside>
</section>
Expand All @@ -165,7 +165,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> subject</h3>
<div class="tsd-signature tsd-kind-icon">subject<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">__type</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/634d8ec/src/assertionLibraries/ChaiExpectation.ts#L31">assertionLibraries/ChaiExpectation.ts:31</a></li>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/be8c307/src/assertionLibraries/ChaiExpectation.ts#L31">assertionLibraries/ChaiExpectation.ts:31</a></li>
</ul>
</aside>
</section>
Expand All @@ -183,7 +183,7 @@ <h3>not<wbr>ToBe<wbr>Empty</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_assertionlibraries_iexpectation_.iexpectation.html">IExpectation</a>.<a href="../interfaces/_assertionlibraries_iexpectation_.iexpectation.html#nottobeempty">notToBeEmpty</a></p>
<ul>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/634d8ec/src/assertionLibraries/ChaiExpectation.ts#L39">assertionLibraries/ChaiExpectation.ts:39</a></li>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/be8c307/src/assertionLibraries/ChaiExpectation.ts#L39">assertionLibraries/ChaiExpectation.ts:39</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
Expand All @@ -201,7 +201,7 @@ <h3>to<wbr>BeTrue</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_assertionlibraries_iexpectation_.iexpectation.html">IExpectation</a>.<a href="../interfaces/_assertionlibraries_iexpectation_.iexpectation.html#tobetrue">toBeTrue</a></p>
<ul>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/634d8ec/src/assertionLibraries/ChaiExpectation.ts#L51">assertionLibraries/ChaiExpectation.ts:51</a></li>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/be8c307/src/assertionLibraries/ChaiExpectation.ts#L51">assertionLibraries/ChaiExpectation.ts:51</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
Expand All @@ -219,7 +219,7 @@ <h3>to<wbr>Deeply<wbr>Include</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_assertionlibraries_iexpectation_.iexpectation.html">IExpectation</a>.<a href="../interfaces/_assertionlibraries_iexpectation_.iexpectation.html#todeeplyinclude">toDeeplyInclude</a></p>
<ul>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/634d8ec/src/assertionLibraries/ChaiExpectation.ts#L61">assertionLibraries/ChaiExpectation.ts:61</a></li>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/be8c307/src/assertionLibraries/ChaiExpectation.ts#L61">assertionLibraries/ChaiExpectation.ts:61</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -252,7 +252,7 @@ <h3>to<wbr>Equal</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_assertionlibraries_iexpectation_.iexpectation.html">IExpectation</a>.<a href="../interfaces/_assertionlibraries_iexpectation_.iexpectation.html#toequal">toEqual</a></p>
<ul>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/634d8ec/src/assertionLibraries/ChaiExpectation.ts#L43">assertionLibraries/ChaiExpectation.ts:43</a></li>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/be8c307/src/assertionLibraries/ChaiExpectation.ts#L43">assertionLibraries/ChaiExpectation.ts:43</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -276,7 +276,7 @@ <h3>to<wbr>Include</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_assertionlibraries_iexpectation_.iexpectation.html">IExpectation</a>.<a href="../interfaces/_assertionlibraries_iexpectation_.iexpectation.html#toinclude">toInclude</a></p>
<ul>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/634d8ec/src/assertionLibraries/ChaiExpectation.ts#L47">assertionLibraries/ChaiExpectation.ts:47</a></li>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/be8c307/src/assertionLibraries/ChaiExpectation.ts#L47">assertionLibraries/ChaiExpectation.ts:47</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down
38 changes: 19 additions & 19 deletions docs/classes/_bottester_.bottester.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/634d8ec/src/BotTester.ts#L110">BotTester.ts:110</a></li>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/be8c307/src/BotTester.ts#L110">BotTester.ts:110</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -167,7 +167,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> bot</h3>
<div class="tsd-signature tsd-kind-icon">bot<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">UniversalBot</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/634d8ec/src/BotTester.ts#L104">BotTester.ts:104</a></li>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/be8c307/src/BotTester.ts#L104">BotTester.ts:104</a></li>
</ul>
</aside>
</section>
Expand All @@ -177,7 +177,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> config</h3>
<div class="tsd-signature tsd-kind-icon">config<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_config_.iconfig.html" class="tsd-signature-type">IConfig</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/634d8ec/src/BotTester.ts#L110">BotTester.ts:110</a></li>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/be8c307/src/BotTester.ts#L110">BotTester.ts:110</a></li>
</ul>
</aside>
</section>
Expand All @@ -187,7 +187,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> message<wbr>Service</h3
<div class="tsd-signature tsd-kind-icon">message<wbr>Service<span class="tsd-signature-symbol">:</span> <a href="_messageservice_.messageservice.html" class="tsd-signature-type">MessageService</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/634d8ec/src/BotTester.ts#L108">BotTester.ts:108</a></li>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/be8c307/src/BotTester.ts#L108">BotTester.ts:108</a></li>
</ul>
</aside>
</section>
Expand All @@ -197,7 +197,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> session<wbr>Loader</h3>
<div class="tsd-signature tsd-kind-icon">session<wbr>Loader<span class="tsd-signature-symbol">:</span> <a href="_sessionservice_.sessionservice.html" class="tsd-signature-type">SessionService</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/634d8ec/src/BotTester.ts#L105">BotTester.ts:105</a></li>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/be8c307/src/BotTester.ts#L105">BotTester.ts:105</a></li>
</ul>
</aside>
</section>
Expand All @@ -207,7 +207,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> test<wbr>Steps</h3>
<div class="tsd-signature tsd-kind-icon">test<wbr>Steps<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">TestStep</span><span class="tsd-signature-symbol">[]</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/634d8ec/src/BotTester.ts#L109">BotTester.ts:109</a></li>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/be8c307/src/BotTester.ts#L109">BotTester.ts:109</a></li>
</ul>
</aside>
</section>
Expand All @@ -225,7 +225,7 @@ <h3>add<wbr>Message<wbr>Filter</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_bottester_.ioptionsmodifier.html">IOptionsModifier</a>.<a href="../interfaces/_bottester_.ioptionsmodifier.html#addmessagefilter">addMessageFilter</a></p>
<ul>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/634d8ec/src/BotTester.ts#L121">BotTester.ts:121</a></li>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/be8c307/src/BotTester.ts#L121">BotTester.ts:121</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -249,7 +249,7 @@ <h3>check<wbr>Session</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_bottester_.ibottester.html">IBotTester</a>.<a href="../interfaces/_bottester_.ibottester.html#checksession">checkSession</a></p>
<ul>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/634d8ec/src/BotTester.ts#L162">BotTester.ts:162</a></li>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/be8c307/src/BotTester.ts#L162">BotTester.ts:162</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -275,7 +275,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> convert<wbr>ToIMessage<
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/634d8ec/src/BotTester.ts#L218">BotTester.ts:218</a></li>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/be8c307/src/BotTester.ts#L218">BotTester.ts:218</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -299,7 +299,7 @@ <h3>ignore<wbr>End<wbr>OfConversation<wbr>Event</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_bottester_.ioptionsmodifier.html">IOptionsModifier</a>.<a href="../interfaces/_bottester_.ioptionsmodifier.html#ignoreendofconversationevent">ignoreEndOfConversationEvent</a></p>
<ul>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/634d8ec/src/BotTester.ts#L133">BotTester.ts:133</a></li>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/be8c307/src/BotTester.ts#L133">BotTester.ts:133</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <a href="_bottester_.bottester.html" class="tsd-signature-type">BotTester</a></h4>
Expand All @@ -317,7 +317,7 @@ <h3>ignore<wbr>Typing<wbr>Event</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_bottester_.ioptionsmodifier.html">IOptionsModifier</a>.<a href="../interfaces/_bottester_.ioptionsmodifier.html#ignoretypingevent">ignoreTypingEvent</a></p>
<ul>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/634d8ec/src/BotTester.ts#L139">BotTester.ts:139</a></li>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/be8c307/src/BotTester.ts#L139">BotTester.ts:139</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <a href="_bottester_.bottester.html" class="tsd-signature-type">BotTester</a></h4>
Expand All @@ -335,7 +335,7 @@ <h3>run<wbr>Test</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_bottester_.ibottester.html">IBotTester</a>.<a href="../interfaces/_bottester_.ibottester.html#runtest">runTest</a></p>
<ul>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/634d8ec/src/BotTester.ts#L148">BotTester.ts:148</a></li>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/be8c307/src/BotTester.ts#L148">BotTester.ts:148</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -358,7 +358,7 @@ <h3>send<wbr>Message<wbr>ToBot</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_bottester_.ibottester.html">IBotTester</a>.<a href="../interfaces/_bottester_.ibottester.html#sendmessagetobot">sendMessageToBot</a></p>
<ul>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/634d8ec/src/BotTester.ts#L174">BotTester.ts:174</a></li>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/be8c307/src/BotTester.ts#L174">BotTester.ts:174</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -385,7 +385,7 @@ <h3>send<wbr>Message<wbr>ToBot<wbr>And<wbr>Expect<wbr>Save<wbr>With<wbr>NoRespon
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_bottester_.ibottester.html">IBotTester</a>.<a href="../interfaces/_bottester_.ibottester.html#sendmessagetobotandexpectsavewithnoresponse">sendMessageToBotAndExpectSaveWithNoResponse</a></p>
<ul>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/634d8ec/src/BotTester.ts#L200">BotTester.ts:200</a></li>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/be8c307/src/BotTester.ts#L200">BotTester.ts:200</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -409,7 +409,7 @@ <h3>send<wbr>Message<wbr>ToBot<wbr>Ignoring<wbr>Response<wbr>Order</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_bottester_.ibottester.html">IBotTester</a>.<a href="../interfaces/_bottester_.ibottester.html#sendmessagetobotignoringresponseorder">sendMessageToBotIgnoringResponseOrder</a></p>
<ul>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/634d8ec/src/BotTester.ts#L187">BotTester.ts:187</a></li>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/be8c307/src/BotTester.ts#L187">BotTester.ts:187</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -435,7 +435,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> send<wbr>Message<wbr>To
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/634d8ec/src/BotTester.ts#L234">BotTester.ts:234</a></li>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/be8c307/src/BotTester.ts#L234">BotTester.ts:234</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -476,7 +476,7 @@ <h3>set<wbr>Timeout</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_bottester_.ioptionsmodifier.html">IOptionsModifier</a>.<a href="../interfaces/_bottester_.ioptionsmodifier.html#settimeout">setTimeout</a></p>
<ul>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/634d8ec/src/BotTester.ts#L127">BotTester.ts:127</a></li>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/be8c307/src/BotTester.ts#L127">BotTester.ts:127</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -500,7 +500,7 @@ <h3>then</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_bottester_.ibottester.html">IBotTester</a>.<a href="../interfaces/_bottester_.ibottester.html#then">then</a></p>
<ul>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/634d8ec/src/BotTester.ts#L206">BotTester.ts:206</a></li>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/be8c307/src/BotTester.ts#L206">BotTester.ts:206</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -524,7 +524,7 @@ <h3>wait</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_bottester_.ibottester.html">IBotTester</a>.<a href="../interfaces/_bottester_.ibottester.html#wait">wait</a></p>
<ul>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/634d8ec/src/BotTester.ts#L212">BotTester.ts:212</a></li>
<li>Defined in <a href="https://github.com/microsoftly/BotTester/blob/be8c307/src/BotTester.ts#L212">BotTester.ts:212</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down
Loading

0 comments on commit 411ee63

Please sign in to comment.