Skip to content

Commit 63a8aa4

Browse files
Releasing 1.0.0 (#89)
* Issue #44: assert-equal-json inconsistent in comparisons (#85) Fixing issue where empty sequences were not being considered equal to one another when using assert-equal-json(). * bintray config fixes I am running "gradle -i bintrayUpload" from the root project directory, and all 8 artifacts are published seemingly successfully, but the bintray plugin still throws an error. The notes on the 1.8.4 release imply that 1.8.4 fixes a bug regarding publishing something multiple times, but that appears to be the error. But, the packages still seem to be uploaded successfully. * Updating Home page - Description of marklogic-unit-test and marklogic-junit - Links to sample projects - Moving contributing data to wiki * Fixing cvsUrl for each project * Renaming marklogic-junit to marklogic-junit5 (#78) This allows for marklogic-junit5 to be published under marklogic-community * Improving the project landing page (#73) Adding instructions for getting started using marklogic-unit-test. * Fixing Bug #79 with Suite Names in Test names (#83) - Test names that started with the suite name no longer throw a module not found error. * #79 Updating assertion to be more specific (#84) - Adding a better failure message * Releasing Version 1.0.0 * Fixing Travis CI error (#90) Changing Travis CI distribution to Trusty which still supports Oracle JDK 8 * fix AbstractMarkLogicTest.java javadocs (#93) Correcting the JavaDocs. Several methods had @param that did not exist * Update CONTRIBUTING.md (#94) Questions or Problem linking to non-existent anchor. Removing it. * Apply $params in xdmp:xslt-invoke() for coverage report format transforms (#95) Can now take advantage of the test-dir parameter in an XSLT transform. * Change test from name() to use self axis (#96) name() will return the namespace-prefix of the instance XML document, which may not use "error". Changing to use the self:: axis and use XPath to test if it is an error:error element. * Update XmlNode.java to use the diamond operator <> (#97) No need to repeat the type on the right hand side * new ByteArrayInputStream(xml.getBytes()) relies upon the default character encoding of the system to convert the string to a byte array. (#98) Instead, use new InputSource(new StringReader(xml)) The StringReader avoids having to convert to a byte array and will send the character stream to the InputSource, which will determine the encoding through standard XML API parse rules. * Abstract mark logic test logger (#99) * Remove unnecessary declaration of logger that is shadowing the logger from LoggingObject that it extends. * Remove unused imports (now that logger is not explicitly initialized here) * #46 Change test failure stack output from encoded XML to a tabbed text format (#61) * Updating 1.0.beta references to 1.0.0 (#101) * Updating MarkLogic Copyrights to 2019 (#102) * Removing Roxy reference (#103) * Updating Change Log for 1.0.0
1 parent 9a1f1d9 commit 63a8aa4

File tree

33 files changed

+219
-160
lines changed

33 files changed

+219
-160
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
dist: trusty
12
language: java
23
jdk:
34
- oraclejdk8
45
sudo: true
56
install:
67
- ./.travis/install-dependencies.sh
78
script:
8-
- ./.travis/run-tests.sh
9+
- ./.travis/run-tests.sh

CHANGELOG.md

Lines changed: 65 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,84 @@
11
# Change Log
22

3-
## [v1.0.0](https://github.com/marklogic-community/marklogic-unit-test/tree/v1.0.0) (2019-04-26)
4-
[Full Changelog](https://github.com/marklogic-community/marklogic-unit-test/compare/v0.12.0...v1.0.0)
3+
## [1.0.0](https://github.com/marklogic-community/marklogic-unit-test/tree/1.0.0) (2019-09-13)
4+
[Full Changelog](https://github.com/marklogic-community/marklogic-unit-test/compare/1.0.beta...1.0.0)
55

66
**Implemented enhancements:**
77

8-
- Support Nested Test Suites [\#45](https://github.com/marklogic-community/marklogic-unit-test/issues/45)
9-
- Add Failure Message to Assert Functions [\#51](https://github.com/marklogic-community/marklogic-unit-test/issues/51)
10-
- Remove Roxy from Namespaces [\#52](https://github.com/marklogic-community/marklogic-unit-test/issues/52)
8+
- assert-equal-json no longer reports the location of comparison differences [\#37](https://github.com/marklogic-community/marklogic-unit-test/issues/37)
9+
- Add documentation for developing and testing ml-unit-test locally [\#29](https://github.com/marklogic-community/marklogic-unit-test/issues/29)
10+
- Support Testing of the MarkLogic Data Hub Framework \(DHF\) [\#26](https://github.com/marklogic-community/marklogic-unit-test/issues/26)
11+
- Support testing of REST services [\#25](https://github.com/marklogic-community/marklogic-unit-test/issues/25)
12+
- Setup real JUnit tests for marklogic-unit-test-modules [\#11](https://github.com/marklogic-community/marklogic-unit-test/issues/11)
13+
14+
**Fixed bugs:**
15+
16+
- Unable to use suite name in test name [\#79](https://github.com/marklogic-community/marklogic-unit-test/issues/79)
17+
- JSON equals is inconsistent in comparisons [\#44](https://github.com/marklogic-community/marklogic-unit-test/issues/44)
18+
19+
**Closed issues:**
20+
21+
- ML10 gradle project has error with unit test [\#86](https://github.com/marklogic-community/marklogic-unit-test/issues/86)
22+
- Updating docs to reflect renamed dependency [\#80](https://github.com/marklogic-community/marklogic-unit-test/issues/80)
23+
- How to test DHF project that uses multiple databases [\#74](https://github.com/marklogic-community/marklogic-unit-test/issues/74)
24+
- Document how to include marklogic-unit-test and set up for a Data Hub [\#36](https://github.com/marklogic-community/marklogic-unit-test/issues/36)
25+
26+
**Merged pull requests:**
27+
28+
- Removing Roxy reference [\#103](https://github.com/marklogic-community/marklogic-unit-test/pull/103) ([jamesagardner](https://github.com/jamesagardner))
29+
- Updating MarkLogic Copyrights to 2019 [\#102](https://github.com/marklogic-community/marklogic-unit-test/pull/102) ([jamesagardner](https://github.com/jamesagardner))
30+
- Updating 1.0.beta references to 1.0.0 [\#101](https://github.com/marklogic-community/marklogic-unit-test/pull/101) ([jamesagardner](https://github.com/jamesagardner))
31+
- Abstract mark logic test logger [\#99](https://github.com/marklogic-community/marklogic-unit-test/pull/99) ([hansenmc](https://github.com/hansenmc))
32+
- JaxpServiceResponseUnmarshaller.parse\(\) relies upon default character encoding [\#98](https://github.com/marklogic-community/marklogic-unit-test/pull/98) ([hansenmc](https://github.com/hansenmc))
33+
- Update XmlNode.java to use the diamond operator \<\> [\#97](https://github.com/marklogic-community/marklogic-unit-test/pull/97) ([hansenmc](https://github.com/hansenmc))
34+
- change hard-coded namespace-prefix test from name\(\) to use self axis [\#96](https://github.com/marklogic-community/marklogic-unit-test/pull/96) ([hansenmc](https://github.com/hansenmc))
35+
- apply $params in xdmp:xslt-invoke\(\) for coverage report format transform [\#95](https://github.com/marklogic-community/marklogic-unit-test/pull/95) ([hansenmc](https://github.com/hansenmc))
36+
- Update CONTRIBUTING.md [\#94](https://github.com/marklogic-community/marklogic-unit-test/pull/94) ([hansenmc](https://github.com/hansenmc))
37+
- fix AbstractMarkLogicTest.java javadocs [\#93](https://github.com/marklogic-community/marklogic-unit-test/pull/93) ([hansenmc](https://github.com/hansenmc))
38+
- Fixing Travis CI error [\#90](https://github.com/marklogic-community/marklogic-unit-test/pull/90) ([jamesagardner](https://github.com/jamesagardner))
39+
- Fixing Issue \#44: assert-equal-json inconsistent in comparisons [\#85](https://github.com/marklogic-community/marklogic-unit-test/pull/85) ([cskeefer](https://github.com/cskeefer))
40+
- \#79 Updating assertion to be more specific [\#84](https://github.com/marklogic-community/marklogic-unit-test/pull/84) ([jamesagardner](https://github.com/jamesagardner))
41+
- \#79 Fixing module not found error when test module contains the test suite name [\#83](https://github.com/marklogic-community/marklogic-unit-test/pull/83) ([jamesagardner](https://github.com/jamesagardner))
42+
- Renaming marklogic-junit to marklogic-junit5 [\#78](https://github.com/marklogic-community/marklogic-unit-test/pull/78) ([rjrudin](https://github.com/rjrudin))
43+
- Improving the project landing page [\#73](https://github.com/marklogic-community/marklogic-unit-test/pull/73) ([jamesagardner](https://github.com/jamesagardner))
44+
- bintray config fixes [\#70](https://github.com/marklogic-community/marklogic-unit-test/pull/70) ([rjrudin](https://github.com/rjrudin))
45+
- \#46 Change test failure stack output from encoded XML to a nested text format [\#61](https://github.com/marklogic-community/marklogic-unit-test/pull/61) ([jonesyface](https://github.com/jonesyface))
46+
47+
## [1.0.beta](https://github.com/marklogic-community/marklogic-unit-test/tree/1.0.beta) (2019-04-26)
48+
[Full Changelog](https://github.com/marklogic-community/marklogic-unit-test/compare/v0.12.0...1.0.beta)
49+
50+
**Implemented enhancements:**
51+
52+
- Document Unit Testing Data Hub Framework \(DHF\) Flow [\#65](https://github.com/marklogic-community/marklogic-unit-test/issues/65)
1153
- Eliminate xdmp:eval\(\) [\#55](https://github.com/marklogic-community/marklogic-unit-test/issues/55)
54+
- Remove Roxy from Namespaces [\#52](https://github.com/marklogic-community/marklogic-unit-test/issues/52)
55+
- Add Failure Message to Assert Functions [\#51](https://github.com/marklogic-community/marklogic-unit-test/issues/51)
56+
- Support Nested Test Suites [\#45](https://github.com/marklogic-community/marklogic-unit-test/issues/45)
1257
- Allow substitutions during deployment [\#32](https://github.com/marklogic-community/marklogic-unit-test/issues/32)
58+
- Was not able to use the ml-unit-test framework [\#21](https://github.com/marklogic-community/marklogic-unit-test/issues/21)
59+
- \#45 Nested test suite support [\#54](https://github.com/marklogic-community/marklogic-unit-test/pull/54) ([jamesagardner](https://github.com/jamesagardner))
60+
61+
**Closed issues:**
62+
63+
- Difficult to run a unit test in qconsole [\#62](https://github.com/marklogic-community/marklogic-unit-test/issues/62)
64+
- Create Node client for REST endpoint [\#17](https://github.com/marklogic-community/marklogic-unit-test/issues/17)
65+
- Rename ml-unit-test-client? [\#16](https://github.com/marklogic-community/marklogic-unit-test/issues/16)
1366

1467
**Merged pull requests:**
1568

69+
- 1.0.0 Release [\#69](https://github.com/marklogic-community/marklogic-unit-test/pull/69) ([jamesagardner](https://github.com/jamesagardner))
70+
- Updating Namespace \#52 [\#68](https://github.com/marklogic-community/marklogic-unit-test/pull/68) ([jamesagardner](https://github.com/jamesagardner))
1671
- Merged marklogic-junit library into marklogic-unit-test [\#66](https://github.com/marklogic-community/marklogic-unit-test/pull/66) ([rjrudin](https://github.com/rjrudin))
72+
- Issue \#55: Converted xdmp:eval to xdmp:invoke-function [\#60](https://github.com/marklogic-community/marklogic-unit-test/pull/60) ([cskeefer](https://github.com/cskeefer))
1773
- Specify permissions and collections in test:load-test-file [\#59](https://github.com/marklogic-community/marklogic-unit-test/pull/59) ([cskeefer](https://github.com/cskeefer))
74+
- \#52 Removing Roxy from Namespaces [\#56](https://github.com/marklogic-community/marklogic-unit-test/pull/56) ([jamesagardner](https://github.com/jamesagardner))
1875
- Adding contributor information [\#50](https://github.com/marklogic-community/marklogic-unit-test/pull/50) ([jamesagardner](https://github.com/jamesagardner))
19-
- Name change from ml-unit-test to marklogic-unit-test [\#43](https://github.com/marklogic-community/marklogic-unit-test/pull/43) ([dmcassel](https://github.com/dmcassel))
20-
21-
**Breaking Changes:**
22-
- The namespaces were updated due to [\#52](https://github.com/marklogic-community/marklogic-unit-test/issues/52) follow these [instructions for upgrading](https://github.com/marklogic-community/marklogic-unit-test/issues/52#issuecomment-487184896).
76+
- Updating formatting [\#49](https://github.com/marklogic-community/marklogic-unit-test/pull/49) ([jamesagardner](https://github.com/jamesagardner))
77+
- Docs name change [\#43](https://github.com/marklogic-community/marklogic-unit-test/pull/43) ([dmcassel](https://github.com/dmcassel))
2378

2479
## [v0.12.0](https://github.com/marklogic-community/marklogic-unit-test/tree/v0.12.0) (2018-09-20)
2580
[Full Changelog](https://github.com/marklogic-community/marklogic-unit-test/compare/0.11.2...v0.12.0)
2681

27-
2882
**Merged pull requests:**
2983

3084
- Release v0.12.0 [\#42](https://github.com/marklogic-community/marklogic-unit-test/pull/42) ([dmcassel](https://github.com/dmcassel))
@@ -105,4 +159,4 @@
105159
## [0.9.1](https://github.com/marklogic-community/marklogic-unit-test/tree/0.9.1) (2018-02-22)
106160

107161

108-
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
162+
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*

CONTRIBUTING.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
marklogic-unit-test welcomes new contributors. This document will guide you through
44
the process.
55

6-
- [Question or Problem?](#question)
76
- [Issues and Bugs](#issue)
87
- [Feature Requests](#feature)
98
- [Submission Guidelines](#submit)

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright � 2017 MarkLogic Corporation.
1+
Copyright � 2017-2019 MarkLogic Corporation.
22

33
This project and its code and functionality is not representative of MarkLogic Server and is not supported by MarkLogic.
44

0 commit comments

Comments
 (0)