Jan Novotný ♥️🇺🇦 · @novoj
59 followers · 168 posts · Server mastodonczech.cz

Two weeks ago I promised a blog post about the process we use for automating code samples verification in our documentation and now I'm keeping that promise.

The approach described, which takes advantage of dynamic testing and REPL, looks like a novel approach. I haven't been able to Google any other project that documents something similar.

So if you have a similar use case, read on and get inspired.

evitadb.io/blog/06-document-ex

#evitadb #junit5 #jshell

Last updated 1 year ago

Jan Novotný ♥️🇺🇦 · @novoj
58 followers · 157 posts · Server mastodonczech.cz

The documentation on evitadb.io/documentation/index is getting bigger and bigger. The more examples we add, the more we're afraid they'll become obsolete or broken. How do we tame this beast of hundreds of examples?

Fortunately, provides a JShell REPL that allows you to interactively enter, and run Java source code. The JShell can also be run automatically and allows to create dynamic tests. Combining these two features we've created an automated test suite. Blog post coming.

#evitadb #java #junit5

Last updated 1 year ago

Jan Novotný ♥️🇺🇦 · @novoj
51 followers · 123 posts · Server mastodonczech.cz

Why did we choose @RedHat server for web APIs (GraphQL/REST)?

It has a decent performance, nice API and is easy to embed. Read more about our testing and conclusions in the blog post: evitadb.io/blog/03-choosing-ht

#undertow #evitadb

Last updated 2 years ago