Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added integration tests for SparqlLuaQueryRunner closes issue#4 #8

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

waximabbax
Copy link
Contributor

@waximabbax waximabbax commented Nov 9, 2023

added integration tests for SparqlLuaQueryRunner closes issue-4

@waximabbax waximabbax changed the title WIP: added integration tests for SparqlLuaQueryRunner closes issue#4 added integration tests for SparqlLuaQueryRunner closes issue#4 Nov 9, 2023
@waximabbax waximabbax marked this pull request as ready for review November 9, 2023 12:14
@waximabbax
Copy link
Contributor Author

manual test since its being skipped on github.
image

$this->assertArrayHasKey( 'results', $responseData );
$this->assertArrayHasKey( 'bindings', $responseData['results'] );
$this->assertCount( $limit, $responseData['results']['bindings'] );
}
Copy link
Member

Choose a reason for hiding this comment

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

Interesting tests. Do they depend on test data being inserted into Blazegraph?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

They don't depend on that. It makes actual requests to the configured $sparqlEndpoint. If it's not configured, tests are skipped. Tests should ideally pass on all ENVs and platforms as long as we can make HTTP requests with the right endpoint.

Copy link
Member

Choose a reason for hiding this comment

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

I will verify after our meeting by doing local setup

@JeroenDeDauw JeroenDeDauw merged commit fd0ec9c into master Nov 9, 2023
12 checks passed
@JeroenDeDauw JeroenDeDauw deleted the 4-add-integration-test-sparql branch November 9, 2023 15:42
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.

Add integration test for SparqlLuaQueryRunner
2 participants