atom feed1 message in com.marklogic.developer.commits[Commits] [marklogic-community/roxy] ...
FromSent OnAttachments
GitHubNov 10, 2017 10:39 am 
Subject:[Commits] [marklogic-community/roxy] 0aaa34: Avoid returning 409 for failed tests; refactor
From:GitHub (nore@github.com)
Date:Nov 10, 2017 10:39:28 am
List:com.marklogic.developer.commits

Branch: refs/heads/dev Home: https://github.com/marklogic-community/roxy Commit: 0aaa34fd03a952a57f3cee7aa4edc3943f27bff3 https://github.com/marklogic-community/roxy/commit/0aaa34fd03a952a57f3cee7aa4edc3943f27bff3 Author: Dave Cassel <dmca@gmail.com> Date: 2017-10-25 (Wed, 25 Oct 2017)

Changed paths: M deploy/lib/server_config.rb M src/test/default.xqy

Log Message: ----------- Avoid returning 409 for failed tests; refactor The code was returning HTTP 409 when a test failed. server_config.rb then watched for that and used it to return a fail code to the command line. Revised the code to look for errors in the returned text instead. Returning 409 was causing the UI to take an error path, thus not displaying some useful information.

Refactored suite-setup and suite-teardown calls to minimize repeated code.

Commit: abab12029ec9ece0086665fe050093e4be3d6430 https://github.com/marklogic-community/roxy/commit/abab12029ec9ece0086665fe050093e4be3d6430 Author: Dave Cassel <dmca@gmail.com> Date: 2017-10-25 (Wed, 25 Oct 2017)

Changed paths: M src/test/default.xqy

Log Message: ----------- refactoring to reduce repeated code

Commit: 4b31f64afb29c8dfd7773a77e58a0e72fa3f6abd https://github.com/marklogic-community/roxy/commit/4b31f64afb29c8dfd7773a77e58a0e72fa3f6abd Author: Dave Cassel <dmca@gmail.com> Date: 2017-10-25 (Wed, 25 Oct 2017)

Changed paths: M src/test/suites/Unit Test Tests/assert-all-exist.xqy M src/test/suites/Unit Test Tests/assert-at-least-one-equal.xqy M src/test/suites/Unit Test Tests/assert-equal.xqy M src/test/suites/Unit Test Tests/assert-exists.xqy M src/test/suites/Unit Test Tests/assert-false.xqy M src/test/suites/Unit Test Tests/assert-meets-maximum-threshold.xqy M src/test/suites/Unit Test Tests/assert-meets-minimum-threshold.xqy M src/test/suites/Unit Test Tests/assert-not-equal.xqy M src/test/suites/Unit Test Tests/assert-not-exists.xqy M src/test/suites/Unit Test Tests/assert-true.xqy M src/test/suites/Unit Test Tests/fail.xqy A src/test/suites/Unit Test Tests/lib/testing-lib.xqy M src/test/test-helper.xqy

Log Message: ----------- On failed assertion, return a stack trace instead of throwing an exception

Commit: f35b48fb56bd523e3ddcf1ff455f70f7e5528a52 https://github.com/marklogic-community/roxy/commit/f35b48fb56bd523e3ddcf1ff455f70f7e5528a52 Author: Dave Cassel <dmca@gmail.com> Date: 2017-10-26 (Thu, 26 Oct 2017)

Changed paths: M src/test/default.xqy

Log Message: ----------- Make sure return values are handled correctly

Commit: ae2510a082ef1817b7c5d8af88b3b4761c3491e0 https://github.com/marklogic-community/roxy/commit/ae2510a082ef1817b7c5d8af88b3b4761c3491e0 Author: Dave Cassel <dmca@gmail.com> Date: 2017-10-30 (Mon, 30 Oct 2017)

Changed paths: M src/test/default.xqy

Log Message: ----------- #854 ignore suite*.[xqy|sjs]; don't return test elements for them Because the suite* modules weren't in $test-ignore-list, they were included in the list of tests to be run. Also, don't return test elements for suite setup and teardown, or the test numbers get inflated.

Commit: 35cba86b8ec680320d897120aa36fb963174fcf5 https://github.com/marklogic-community/roxy/commit/35cba86b8ec680320d897120aa36fb963174fcf5 Author: David Cassel <dmca@gmail.com> Date: 2017-11-10 (Fri, 10 Nov 2017)

Changed paths: M deploy/lib/server_config.rb M src/test/default.xqy M src/test/suites/Unit Test Tests/assert-all-exist.xqy M src/test/suites/Unit Test Tests/assert-at-least-one-equal.xqy M src/test/suites/Unit Test Tests/assert-equal.xqy M src/test/suites/Unit Test Tests/assert-exists.xqy M src/test/suites/Unit Test Tests/assert-false.xqy M src/test/suites/Unit Test Tests/assert-meets-maximum-threshold.xqy M src/test/suites/Unit Test Tests/assert-meets-minimum-threshold.xqy M src/test/suites/Unit Test Tests/assert-not-equal.xqy M src/test/suites/Unit Test Tests/assert-not-exists.xqy M src/test/suites/Unit Test Tests/assert-true.xqy M src/test/suites/Unit Test Tests/fail.xqy A src/test/suites/Unit Test Tests/lib/testing-lib.xqy M src/test/test-helper.xqy

Log Message: ----------- Merge pull request #858 from dmcassel/issue-854

#854 Correct return value handling