-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Tests for /explain
API
#3806
Comments
@marionschleifer, I'd like work on this issue. Can you assign it to me? |
@jmakhack as explained in our Hacktoberfest blogpost, we don't assign issues. However, it doesn't seem that anyone else is working on this, so feel free to take it up and link a PR to this issue 🙂 |
I've been hitting many issues with cabal no being able to resolve dependencies for this project so just want to update that I am currently not actively looking into this issue and it is up for grabs for anyone else to take on. |
@Stefmore02 can I get assigned to this issue ? I'd love to work on it. |
@harshxtanwar feel free to pick this up. We don't assign issues. The PR that is submitted first will also be the one to be reviewed first 🙂 so far, nobody has raised a PR on this. |
@marionschleifer Do you have test that I can reference to write explain api ? |
@chaiwattsw unfortunately not. Writing tests for the Explain API is another Hacktoberfest issue. |
Bonjour, Hello, does any body do the test or I can do it? thank you. |
Good morning @marionschleifer , I started implementing the tests with pytest. ================================================== test teardown duration top =================================================== |
Thank you for your efforts @JoelleNdiriraMusangie. This issue is actually not relevant anymore since tests for the |
Okay, thank you for closing this issue in this case because otherwise many will have had the pleasure of working there like me :) |
We need to add tests for the
/explain
API.Docs for explain API: https://hasura.io/docs/1.0/graphql/manual/api-reference/explain.html
The point of this issue is that we currently have a test suite, in the
server/tests-py/
directory, for the backend, which tests input-output behavior for a variety of queries including many GraphQL queries. However, thev1/graphql/explain
API, which is used to run theAnalyze
feature in the console, is not tested at the moment. This can be fixed by writing a handful of tests that call the Explain API, and compare received output with expected output. The above documentation can be used for some inspiration for sample queries which should certainly work (i.e. should be tested).The text was updated successfully, but these errors were encountered: