<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/couchdb.git/test/javascript/cli_runner.js, branch fix/compaction-daemon</title>
<subtitle>github.com: apache/couchdb.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/'/>
<entry>
<title>Clear a line before printing JS test errors</title>
<updated>2014-02-07T05:28:43+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2014-02-07T05:28:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=68053b16b4c36cf6413d039081bfa0d8d16b7fe1'/>
<id>68053b16b4c36cf6413d039081bfa0d8d16b7fe1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Reload the configuration for each tests</title>
<updated>2014-02-07T03:09:31+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2014-02-06T23:30:13+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=59abf55f0f5857f60cc93f68cd459a765102a654'/>
<id>59abf55f0f5857f60cc93f68cd459a765102a654</id>
<content type='text'>
I accidentally lost this in a rebase or merge somewhere.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I accidentally lost this in a rebase or merge somewhere.
</pre>
</div>
</content>
</entry>
<entry>
<title>Initial implementation of a new JS test runner</title>
<updated>2014-02-06T22:10:32+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2014-02-06T22:10:32+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=3e09a9acb8cee93378c7241fd0d3fadcf99258a5'/>
<id>3e09a9acb8cee93378c7241fd0d3fadcf99258a5</id>
<content type='text'>
This fits into the dev/run format for allowing tests to run with an
available cluster. For now the JS tests only run against the backdoor
port.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fits into the dev/run format for allowing tests to run with an
available cluster. For now the JS tests only run against the backdoor
port.
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't stop running tests on the first failure</title>
<updated>2014-02-05T14:34:53+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2014-02-05T04:19:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=3069c0134ef8e8eb416035d1ca2b7018f82e7b88'/>
<id>3069c0134ef8e8eb416035d1ca2b7018f82e7b88</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Import JavaScript test runner changes</title>
<updated>2014-02-05T14:34:52+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2014-02-05T03:47:09+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=03ea534c0366164055560cc93d8fc32ceb27bf1f'/>
<id>03ea534c0366164055560cc93d8fc32ceb27bf1f</id>
<content type='text'>
This is the basis for some temporary work to be able to run the
JavaScript test suite as during the merge transition.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the basis for some temporary work to be able to run the
JavaScript test suite as during the merge transition.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a config:reload/0 and HTTP trigger</title>
<updated>2013-03-20T11:02:55+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2013-03-13T06:47:34+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=6e53c8a7ee5a7f70a7492baf23c1aa383f7c5843'/>
<id>6e53c8a7ee5a7f70a7492baf23c1aa383f7c5843</id>
<content type='text'>
Theoretically this should prevent all of those annoying test suite
failures when a test fails in with a temporary config set and fails to
undo its changes.

This works by storing the list of INI files in the config server and on
command will clear its ets table and re-read data from disk thus
clearing its cache of non-persisted values. Obviously this isn't
something that should be relied on in production settings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Theoretically this should prevent all of those annoying test suite
failures when a test fails in with a temporary config set and fails to
undo its changes.

This works by storing the list of INI files in the config server and on
command will clear its ets table and re-read data from disk thus
clearing its cache of non-persisted values. Obviously this isn't
something that should be relied on in production settings.
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve the CLI JavaScript stack formating</title>
<updated>2012-04-25T21:54:08+00:00</updated>
<author>
<name>Paul Joseph Davis</name>
<email>davisp@apache.org</email>
</author>
<published>2012-03-22T03:42:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=7d2fe95802e032b824f732f3b819483f71b6b443'/>
<id>7d2fe95802e032b824f732f3b819483f71b6b443</id>
<content type='text'>
This dresses up the output of the JavaScript tests by making sure the
output is sane. Most of the issue was that the tracebak prints function
arguments which can include the entire source of the test.

This also tries to print the source file and line number nicely so that
we can find right where errors have occurred. Its proven quite useful
while fixing JavaScript tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This dresses up the output of the JavaScript tests by making sure the
output is sane. Most of the issue was that the tracebak prints function
arguments which can include the entire source of the test.

This also tries to print the source file and line number nicely so that
we can find right where errors have occurred. Its proven quite useful
while fixing JavaScript tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>Propogate failures from JS CLI tests to exit codes</title>
<updated>2012-01-27T01:03:10+00:00</updated>
<author>
<name>Randall Leeds</name>
<email>randall@apache.org</email>
</author>
<published>2012-01-19T07:15:53+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=257eb522c753ae39a5333938ec1856acd8451ec2'/>
<id>257eb522c753ae39a5333938ec1856acd8451ec2</id>
<content type='text'>
Assert that all tests pass and save the error code from the couchjs
invocation. Make check will actually fail when JS CLI tests fail.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Assert that all tests pass and save the error code from the couchjs
invocation. Make check will actually fail when JS CLI tests fail.
</pre>
</div>
</content>
</entry>
<entry>
<title>print JS CLI test tracebacks to stderr</title>
<updated>2012-01-27T01:03:08+00:00</updated>
<author>
<name>Randall Leeds</name>
<email>randall@apache.org</email>
</author>
<published>2012-01-19T06:48:01+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=14ac70910acc5eab03e443a112bce04dfef91b6d'/>
<id>14ac70910acc5eab03e443a112bce04dfef91b6d</id>
<content type='text'>
Nothing in couchjs assumes that multiple arguments to the couchjs
`print` function is sensible. The call signature changes to take an
optional second parameter - a true value prints to stderr.

From this point forward, console.log in the JS CLI prints to stderr.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Nothing in couchjs assumes that multiple arguments to the couchjs
`print` function is sensible. The call signature changes to take an
optional second parameter - a true value prints to stderr.

From this point forward, console.log in the JS CLI prints to stderr.
</pre>
</div>
</content>
</entry>
<entry>
<title>COUCHDB-111 and COUCHDB-1389 JS Error Tracebacks</title>
<updated>2012-01-27T01:02:38+00:00</updated>
<author>
<name>Randall Leeds</name>
<email>randall@apache.org</email>
</author>
<published>2011-12-16T03:49:34+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=32a1113417c25deee9052e7d3de37cc0faea9914'/>
<id>32a1113417c25deee9052e7d3de37cc0faea9914</id>
<content type='text'>
couchjs:
- report stacktraces on exceptions using JS_ReportError

- responds with a trace and message on errors when possible

- propogate Error-like objects from validate_doc_update to the loop

- make Error-like object play nicely with couch_os_process

couch.js:

- transform HTTP error response bodies into an Error instance to
  capture stack information

cli tests:

- print a stacktrace for individual test failures when running the suite

Fix COUCHDB-111
Fix COUCHDB-1389
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
couchjs:
- report stacktraces on exceptions using JS_ReportError

- responds with a trace and message on errors when possible

- propogate Error-like objects from validate_doc_update to the loop

- make Error-like object play nicely with couch_os_process

couch.js:

- transform HTTP error response bodies into an Error instance to
  capture stack information

cli tests:

- print a stacktrace for individual test failures when running the suite

Fix COUCHDB-111
Fix COUCHDB-1389
</pre>
</div>
</content>
</entry>
</feed>
