<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nickserver.git/test/unit, branch version/0.9</title>
<subtitle>[nickserver] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/'/>
<entry>
<title>debug: raise error on 401</title>
<updated>2016-12-02T11:24:13+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-12-02T11:24:13+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=0aa101524270c0c398fe17c287d51927f810e499'/>
<id>0aa101524270c0c398fe17c287d51927f810e499</id>
<content type='text'>
This will get us more debug info in the logs if it happens again
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will get us more debug info in the logs if it happens again
</pre>
</div>
</content>
</entry>
<entry>
<title>cleanup: old empty adapters and tests</title>
<updated>2016-12-02T10:31:20+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-12-02T10:31:20+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=396b34a52aa7594866fda090f1329827488e98bc'/>
<id>396b34a52aa7594866fda090f1329827488e98bc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>minor: test: fix * interpreted as arg prefix warning</title>
<updated>2016-09-30T10:46:05+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-09-30T10:46:05+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=0d4a43cf03f4efeeed1d380c931ab72184346ea1'/>
<id>0d4a43cf03f4efeeed1d380c931ab72184346ea1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>logging: use proper logger</title>
<updated>2016-09-30T09:59:20+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-09-30T09:59:20+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=8ee1d1cb70bee8c938966e4e042b4929ced8b1a3'/>
<id>8ee1d1cb70bee8c938966e4e042b4929ced8b1a3</id>
<content type='text'>
This way the logs do not interfere with test output
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This way the logs do not interfere with test output
</pre>
</div>
</content>
</entry>
<entry>
<title>hand on connection errors to dispatcher so it can handle it</title>
<updated>2016-09-22T09:31:01+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-09-22T09:31:01+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=1202e3b03c3bb88cd3a63dae3866167564f1d25d'/>
<id>1202e3b03c3bb88cd3a63dae3866167564f1d25d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>rescue and track exceptions in handler chain</title>
<updated>2016-09-21T10:48:06+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-09-20T07:14:43+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=dd71240fe4f4f968b9b687917cb6d7ad5812ba48'/>
<id>dd71240fe4f4f968b9b687917cb6d7ad5812ba48</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: separate handler chain from dispatcher</title>
<updated>2016-09-19T07:51:38+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-09-19T07:51:38+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=a1c7d68b05f142322a190b450971d27c076310a9'/>
<id>a1c7d68b05f142322a190b450971d27c076310a9</id>
<content type='text'>
Handler Chain is  of handlers that respond to call.
Invoking handle(*args) on the chain will call the handlers with the given args
until one of them returns a result that is truethy (i.e. not false or nil).

Extracted from the dispatcher so we can also handle exceptions there in the
future. (So that if one of the network connections to the request_handlers
fails we can continue while still tracking the failed exception.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Handler Chain is  of handlers that respond to call.
Invoking handle(*args) on the chain will call the handlers with the given args
until one of them returns a result that is truethy (i.e. not false or nil).

Extracted from the dispatcher so we can also handle exceptions there in the
future. (So that if one of the network connections to the request_handlers
fails we can continue while still tracking the failed exception.)
</pre>
</div>
</content>
</entry>
<entry>
<title>deal with network issues in nicknym source</title>
<updated>2016-09-16T12:33:01+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-09-16T12:32:55+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=964cd0b049e67ca10bd37b67c4b14ccd37064511'/>
<id>964cd0b049e67ca10bd37b67c4b14ccd37064511</id>
<content type='text'>
This is a first step. In case the suspected nicknym server cannot be
reached we will now move on and try other sources.

It's robably not what we want in the long run. In order to know wether
no key exists or we just failed to connect to some servers a different
http response code would be nice if network errors occured.

This simplifies testing such scenarios in the unit test and makes the
remote tests skip on network failure.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a first step. In case the suspected nicknym server cannot be
reached we will now move on and try other sources.

It's robably not what we want in the long run. In order to know wether
no key exists or we just failed to connect to some servers a different
http response code would be nice if network errors occured.

This simplifies testing such scenarios in the unit test and makes the
remote tests skip on network failure.
</pre>
</div>
</content>
</entry>
<entry>
<title>test: properly test nicknym source + fixes</title>
<updated>2016-09-16T10:12:34+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-09-13T14:45:28+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=f5bf2c6554f0e541c75d90fdcf4f0095e9801d4d'/>
<id>f5bf2c6554f0e541c75d90fdcf4f0095e9801d4d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test: separate remote tests into own directory</title>
<updated>2016-09-12T14:34:57+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-09-12T14:34:25+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=ec875169b0231d84bb8c55bbe91c52b896561f1e'/>
<id>ec875169b0231d84bb8c55bbe91c52b896561f1e</id>
<content type='text'>
Dropped the webmock dependency. We have our own http adapter. So we can
stub that to inject a mock. As an added bonus this does not mess with
other http requests.

Also wrote down testing strategy. Not completely implemented yet.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Dropped the webmock dependency. We have our own http adapter. So we can
stub that to inject a mock. As an added bonus this does not mess with
other http requests.

Also wrote down testing strategy. Not completely implemented yet.
</pre>
</div>
</content>
</entry>
</feed>
