GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - varar-dev/varar-examples: Runnable Vár sample projects — Markdown specs as tests, one project per language/test framework

BranchesTags
Open more actions menu

Latest commit

 

History

17 Commits
17 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
csharp-vstest
csharp-vstest
 
 
go-gotest
go-gotest
 
 
java-junit-gradle
java-junit-gradle
 
 
java-junit-maven
java-junit-maven
 
 
kotlin-junit
kotlin-junit
 
 
kotlin-kotest
kotlin-kotest
 
 
python-pytest
python-pytest
 
 
python-unittest
python-unittest
 
 
ruby-minitest
ruby-minitest
 
 
ruby-rspec
ruby-rspec
 
 
rust-cargotest
rust-cargotest
 
 
typescript-vitest
typescript-vitest
 
 
.gitignore
.gitignore
 
 
.rubocop.yml
.rubocop.yml
 
 
.tool-versions
.tool-versions
 
 
README.md
README.md
 
 

Repository files navigation

Varar examples

Small, standalone sample projects that run Markdown oaths as tests with Varar — one project per language/test-framework combination. Each is a complete project you can copy as the starting point for your own.

The .md files in each project's varar/ directory are the oaths — plain Markdown prose that runs as tests. They are first-class: readable by anyone, owned by the whole team, and checked against the code on every test run.

Project Stack Run with CI
typescript-vitest TypeScript + vitest pnpm test typescript-vitest
kotlin-junit Kotlin + JUnit + Gradle ./gradlew test kotlin-junit
kotlin-kotest Kotlin + Kotest + Gradle ./gradlew test kotlin-kotest
java-junit-maven Java + JUnit + Maven mvn test java-junit-maven
java-junit-gradle Java + JUnit + Gradle ./gradlew test java-junit-gradle
python-pytest Python + pytest uv run pytest python-pytest
python-unittest Python + unittest uv run python -m unittest python-unittest
ruby-rspec Ruby + RSpec bundle exec rspec ruby-rspec
ruby-minitest Ruby + Minitest bundle exec rake test ruby-minitest
rust-cargotest Rust + cargo test cargo test rust-cargotest
csharp-vstest C# + dotnet test dotnet test csharp-vstest
go-gotest Go + go test go test go-gotest

typescript-vitest implements the full example set; the other projects implement a feature-covering subset — hello-varar (basic steps), deep-thought (a one-sensor oath), tables-and-docstrings (whole tables + doc strings), yahtzee and roman-numerals (header-bound table rows), and library (custom parameter types that pair parse with format, so a mismatch renders in the document's own notation — money, dates, and an emphasised title where the markup is the parameter).

Where these files live

The source of truth is the varar-dev/varar monorepo's examples/ directory, where the projects run against the local build on every push (in there, the subset projects' varar/*.md files are symlinks to the typescript-vitest originals). On every release they are synced — symlinks resolved, versions pinned to the release — to varar-dev/varar-examples. Send changes to varar-dev/varar.

About

Runnable Vár sample projects — Markdown specs as tests, one project per language/test framework

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.