-
Notifications
You must be signed in to change notification settings - Fork 35
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
Implement TypeDBRunner in all clients, extracting the common logic into Kotlin/Bash scripts #246
Comments
Rather than creating a Bazel rule that starts and stops Grakn at the cost of expressiveness, let's still expose a language specific API for Java, NodeJS, and Python but extract the meat of the logic into Bash / Kotlin, whichever one has less boilerplate and is easy to work with:
Supported by these small modules we can implement a very lightweight runner for each language without having to re-implement the logic in each language:
|
Problem to Solve
Currently each of our 3 clients has a wildly different BDD infrastructure setup:
Client Java
argument
to the test runner, whichTypeDBCoreRunner
has access to;TypeDBCoreRunner
APIClient NodeJS
Client Python
In all clients, the client code and steps are passed in as Bazel dependencies; in client-nodejs, they are both generated on-the-fly using
genrule
s.Proposed Solution
See Ganesh's message below.
The text was updated successfully, but these errors were encountered: