livebook/test
Fabian N.C. van ´t Hooft 50ac90a79d Add erlang-module support
Single modules are now allowed to be defined in an Erlang-cell.

In this case the entire code-block is interpreted as an
erlang-module and if there are no errors the module is compiled
and loaded.

If the cell containing the module is deleted subsequent code
invocations will fail.

Stale indicator is not working yet due to missing notion of
functions, this will be fixed in a next version.

Error handling - basics are working
 - Still not happy with it, but it is usable

The code is now pre-analyzed using the epp-module. This also
has the added advantage that erlang modules can become a bit
more expressive with defines and includes.

TODO: Examples need to be added to the example livebook.
2024-10-10 17:40:49 +02:00
..
livebook Add erlang-module support 2024-10-10 17:40:49 +02:00
livebook_teams Fix Teams app deployments with attachment files 2024-10-05 03:10:54 +08:00
livebook_web Add erlang-module support 2024-10-10 17:40:49 +02:00
support Encapsulate Kubernetes API calls (#2790) 2024-09-20 10:30:50 +02:00
livebook_test.exs
README.md Add README for tests 2023-11-08 10:37:43 +01:00
test_helper.exs Add K8s runtime (#2756) 2024-09-18 13:56:17 +02:00

Running Livebook test suite

Unit tests

$ mix test

Teams tests

Integration with Livebook Teams requires cloning the private Livebook Teams repository. By default it is expected to be in sibling directory to Livebook itself. But you can set TEAMS_PATH to a custom directory.

Livebook should take care of automatically setting up the Teams repository for you. However, if you run into issues, you can run the following in the Teams repository:

$ MIX_ENV=livebook mix setup