Skip to content

Conversation

@rjrudin
Copy link
Collaborator

@rjrudin rjrudin commented Apr 3, 2019

Most of this is just files copied from rjrudin/marklogic-junit into this project. I did remove support for running DHF harmonization flows as the code was written for DHF 4.0.0, and there were breaking changes with DHF 4.1.0, so that'll be an exercise for another day.

Bumped version to 0.13.develop. Once this is ready for 0.13.0 or 1.0.0, will need to update the references to 0.13.develop.

Also made a fix in marklogic-unit-test-client/build.gradle so that createHttpCredentials isn't executed when any task is run, but only when it's run.

See the README file in the marklogic-junit directory for more information.

Bumped version to 0.13.develop. Once this is ready for 0.13.0 or 1.0.0, will need to update the references to 0.13.develop. 

Also made a fix in marklogic-unit-test-client/build.gradle so that createHttpCredentials isn't executed when any task is run, but only when it's run. 

See the README file in the marklogic-junit directory for more information.
./gradlew hubInit

Then add the following lines to gradle.properties:

Copy link

@joecrean joecrean Apr 3, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be a good idea to add a line of doc here just to remind the user that the username below will be used in the test requests and that it and the password needs to be set.. maybe with a hint towards the data-hub-user


### Configure build.gradle

First, make sure you're applied the Gradle "java" plugin:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

....make sure you've ... ??

Copy link

@joecrean joecrean left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left a few comments - the two examples run fine. marklogic-junit looks great.

@jamesagardner jamesagardner merged commit 2c768f1 into marklogic:develop Apr 26, 2019
@jamesagardner
Copy link
Contributor

I went ahead and merged this in for now. I think the DHF examples should probably live inside the DHF project eventually.

@rjrudin rjrudin deleted the feature/marklogic-junit-inclusion branch July 20, 2021 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants