https://github.com/juliapluto/plutotest.jl

✔️ Visual, reactive testing library for Julia. Time machine included.

https://github.com/juliapluto/plutotest.jl

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.7%) to scientific vocabulary

Keywords

debugging julia julia-language pluto-notebooks testing time-travel

Keywords from Contributors

julialang numerical programming-language symbolic-computing
Last synced: 6 months ago · JSON representation

Repository

✔️ Visual, reactive testing library for Julia. Time machine included.

Basic Info
Statistics
  • Stars: 84
  • Watchers: 6
  • Forks: 8
  • Open Issues: 2
  • Releases: 7
Topics
debugging julia julia-language pluto-notebooks testing time-travel
Created almost 5 years ago · Last pushed over 1 year ago
Metadata Files
Readme License

README.md

PlutoTest.jl (alpha release)

Visual, reactive testing library for Julia

A macro @test that you can use to verify your code's correctness. But instead of just saying "Pass" or "Fail", let's try to show you why a test failed. - ✨ time travel ✨ to replay the execution step-by-step - ⭐️ multimedia display ⭐️ to make results easy to read


Demo screencap

Try this demo in your browser

Install & use

First, update Pluto to at least 0.15! That's it, Pluto will automatically install the package when you import/using it.

Inside your notebook, use the @test macro to test whether something returns true:

```julia julia> using PlutoTest

julia> @test 1 + 1 == 2 ```

This package is still an alpha release, don't use it to @test is_safe(crazy_new_bike_design).

Reactive

This testing library is designed to be used inside Pluto.jl, a reactive notebook. If you write your tests in the same notebook as your code, then Pluto will automatically re-run the affected tests after you make a change. Tests that are unaffected will not need to re-run. Neat!

Navigation

When a test gets re-run and it fails outside of your viewport, you will be notified with a red dot on the edge of the screen. You can click on a dot to jump to the test, multiple dots indicate multiple tests.

(Only enabled on Chrome and Firefox for now.)

Future: GitHub Action

In the future, it will be easy to run Pluto-based, PlutoTest-based tests automatically on GitHub Actions or Travis CI. In addition to running your tests, it will upload a rendered notebook as artifact to the test run (sample). If a test failed, you can open the notebook and see why.

How does it work?

Take a look at the source code! (It's a Pluto notebook 🌝)

Owner

  • Name: Pluto
  • Login: JuliaPluto
  • Kind: organization
  • Email: fons@plutojl.org
  • Location: Greece

🎈 Simple reactive notebooks for Julia — https://github.com/fonsp/Pluto.jl

GitHub Events

Total
  • Issues event: 1
  • Watch event: 2
Last Year
  • Issues event: 1
  • Watch event: 2

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 49
  • Total Committers: 6
  • Avg Commits per committer: 8.167
  • Development Distribution Score (DDS): 0.551
Top Committers
Name Email Commits
Fons van der Plas f****s@p****g 22
Fons van der Plas f****s@g****m 17
Michiel Dral m****l@g****m 7
Benjamin Lungwitz b****g@g****m 1
Paul p****l@p****g 1
Simeon Schaub s****9@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 1
  • Total pull requests: 8
  • Average time to close issues: N/A
  • Average time to close pull requests: 8 days
  • Total issue authors: 1
  • Total pull request authors: 5
  • Average comments per issue: 0.0
  • Average comments per pull request: 1.75
  • Merged pull requests: 6
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • karlwessel (1)
Pull Request Authors
  • fonsp (3)
  • dralletje (2)
  • lungben (1)
  • simeonschaub (1)
  • Pangoraw (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • julia 27 total
  • Total dependent packages: 2
  • Total dependent repositories: 0
  • Total versions: 7
juliahub.com: PlutoTest

✔️ Visual, reactive testing library for Julia. Time machine included.

  • Versions: 7
  • Dependent Packages: 2
  • Dependent Repositories: 0
  • Downloads: 27 Total
Rankings
Dependent repos count: 9.9%
Stargazers count: 10.0%
Average: 14.5%
Dependent packages count: 16.6%
Forks count: 21.7%
Last synced: 6 months ago

Dependencies

.github/workflows/ExportPluto.yaml actions
  • JamesIves/github-pages-deploy-action releases/v4 composite
  • actions/cache v3 composite
  • actions/checkout v3 composite
  • julia-actions/setup-julia v2 composite
.github/workflows/TagBot.yml actions
  • JuliaRegistries/TagBot v1 composite