Mraiih / tested_cell

A Kino SmartCell for creating tested Elixir Cells.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TestedCell

A Tested Kino SmartCell for Livebook.

Run tests on an Elixir Cell without revealing the tests or writing a significant amount of ExUnit boilerplate.

Installation

Add the dependency in your Livebook setup section. This project relies on Kino.

Mix.install([{:kino, "~> 0.6.2"}, {:tested_cell, github: "BrooklinJazz/tested_cell"}])

Usage

Run notebooks/example.livemd in Livebook for practical examples.

TestedCell displays text editors for writing assertions and a solution hint.

image

Which can be disabled.

image

Solution hints appear after 3 attempts.

image

About

A Kino SmartCell for creating tested Elixir Cells.


Languages

Language:Elixir 44.4%Language:CSS 36.6%Language:JavaScript 19.0%