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 - typelevel/weaver-test: A test framework that runs everything in parallel.

BranchesTags
Open more actions menu

Latest commit

 

History

1,227 Commits
1,227 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
docker
docker
 
 
docs
docs
 
 
modules
modules
 
 
project
project
 
 
scalafix
scalafix
 
 
.git-blame-ignore-revs
.git-blame-ignore-revs
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.sbtopts
.sbtopts
 
 
.scala-steward.conf
.scala-steward.conf
 
 
.scalafix.conf
.scalafix.conf
 
 
.scalafmt.conf
.scalafmt.conf
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build.sbt
build.sbt
 
 

Repository files navigation

CI Latest version Discord Scala Steward badge

Weaver-test

A test-framework built on cats-effect and fs2

Installation

Weaver-test is currently published for Scala 2.12, 2.13, and 3

SBT (1.9.0+)

Refer yourself to the releases page to know the latest released version, and add the following to your build.sbt file.

libraryDependencies +=  "org.typelevel" %% "weaver-cats" % "@VERSION@" % Test

For other build tools and older SBT versions, read the installation guide.

Documentation

Full documentation is available on the Weaver microsite.

Quick links

  • Installation
  • Getting started
  • Writing expectations (assertions)
  • Filtering tests
  • ScalaCheck integration

Motivation

Weaver was built for integration/end-to-end tests. It makes tests faster and easier to debug by using cats-effect IO.

time

  • Tests are run concurrently by default for quickest results possible.
  • Expectations (ie assertions) are composable values.
  • Failures are aggregated and reported at the end of the run
  • Logs are only displayed when a test fails. This works perfectly well with concurrent runs.
  • “beforeAll” and “afterAll” logic is represented using a cats.effect.Resource. This ensures that resources such as HTTP clients, connection pools and file handles are cleaned up correctly and predictably.

For more details, see why Weaver?

Contributing

Contributions are most welcome !

Building the website

If you're changing documentation, here's how you can check your changes locally:

sbt docs/tlSitePreview

Then navigate to http://localhost:4242 to see the documentation site.

Weaver uses sbt-typelevel-site, for more details on writing documentation see here.

PR Guidelines

Please:

  • Write positive and negative tests
  • Include documentation

Inspiration

A HUGE thank you to Alexandru Nedelcu, author of Monix and contributor to cats-effect, as he wrote the minitest framework which got this framework started.

About

A test framework that runs everything in parallel.

typelevel.org/weaver-test/

Resources

Readme
License

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

87 stars

Watchers

4 watching

Forks

19 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402775 — 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.