An open API service providing repository metadata for many open source software ecosystems.

Topic: "assert"

avajs/ava

Node.js test runner that lets you develop with confidence πŸš€

Language: JavaScript - Size: 13.3 MB - Last synced at: 6 days ago - Pushed at: 9 days ago - Stars: 20,773 - Forks: 1,405

power-assert-js/power-assert

Power Assert in JavaScript. Provides descriptive assertion messages through standard assert interface. No API is the best API.

Language: JavaScript - Size: 3.03 MB - Last synced at: 7 days ago - Pushed at: over 2 years ago - Stars: 2,806 - Forks: 68

tapjs/tapjs

Test Anything Protocol tools for node

Language: JavaScript - Size: 70.5 MB - Last synced at: 4 days ago - Pushed at: 3 months ago - Stars: 2,384 - Forks: 275

alexreardon/tiny-invariant

A tiny invariant function

Language: TypeScript - Size: 1.16 MB - Last synced at: 6 days ago - Pushed at: 10 months ago - Stars: 1,823 - Forks: 46

amantinband/throw

A simple, fluent, extensible, and fully customizable library for throwing exceptions for projects using .NET 6+

Language: C# - Size: 25.9 MB - Last synced at: 29 days ago - Pushed at: 9 months ago - Stars: 1,265 - Forks: 83

wellwelwel/poku

🐷 Poku makes testing easy for Node.js, Bun, Deno, and you at the same time.

Language: TypeScript - Size: 12.6 MB - Last synced at: 12 days ago - Pushed at: 12 days ago - Stars: 977 - Forks: 18

inspect-js/node-deep-equal

node's assert.deepEqual algorithm

Language: JavaScript - Size: 321 KB - Last synced at: 9 days ago - Pushed at: over 1 year ago - Stars: 791 - Forks: 108

h2non/baloo

Expressive end-to-end HTTP API testing made easy in Go

Language: Go - Size: 73.2 KB - Last synced at: 8 days ago - Pushed at: almost 3 years ago - Stars: 779 - Forks: 30

samber/oops

πŸ”₯ Error handling library with context, assertion, stack trace and source fragments

Language: Go - Size: 2.13 MB - Last synced at: 4 days ago - Pushed at: 6 days ago - Stars: 645 - Forks: 22

nvzqz/static-assertions

Ensure correct assumptions about constants, types, and more in Rust

Language: Rust - Size: 547 KB - Last synced at: 3 days ago - Pushed at: over 1 year ago - Stars: 616 - Forks: 23

robstoll/atrium

A multiplatform expectation library for Kotlin

Language: Kotlin - Size: 69 MB - Last synced at: about 17 hours ago - Pushed at: 5 days ago - Stars: 595 - Forks: 218

robfletcher/strikt

An assertion library for Kotlin

Language: Kotlin - Size: 2.82 MB - Last synced at: 28 days ago - Pushed at: 9 months ago - Stars: 583 - Forks: 61

gotestyourself/gotest.tools

A collection of packages to augment the go testing package and support common patterns.

Language: Go - Size: 635 KB - Last synced at: 4 days ago - Pushed at: 3 months ago - Stars: 557 - Forks: 50

jaywcjlove/validator.js

:interrobang: Lightweight JavaScript form validation, that had minimal configuration and felt natural to use. No dependencies, support UMD.

Language: TypeScript - Size: 12.9 MB - Last synced at: 2 days ago - Pushed at: 5 months ago - Stars: 554 - Forks: 118

q191201771/naza

πŸ€ Golang basic library. || Goθ―­θ¨€εŸΊη‘€εΊ“

Language: Go - Size: 457 KB - Last synced at: 27 days ago - Pushed at: about 1 month ago - Stars: 535 - Forks: 111

Iltotore/iron

Strong type constraints for Scala

Language: Scala - Size: 1.46 MB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 505 - Forks: 52

decs/typeschema

πŸ›΅ Universal adapter for TypeScript schema validation.

Language: TypeScript - Size: 1.67 MB - Last synced at: 5 days ago - Pushed at: 7 months ago - Stars: 443 - Forks: 14

browserify/commonjs-assert

Node.js's require('assert') for all engines

Language: JavaScript - Size: 220 KB - Last synced at: 7 days ago - Pushed at: 5 months ago - Stars: 301 - Forks: 61

ysmood/got

An enjoyable golang test framework.

Language: Go - Size: 334 KB - Last synced at: 9 months ago - Pushed at: 11 months ago - Stars: 264 - Forks: 18

l2beat/earl

β˜• Ergonomic, modern and type-safe assertion library for TypeScript

Language: TypeScript - Size: 2.22 MB - Last synced at: about 1 hour ago - Pushed at: 6 months ago - Stars: 260 - Forks: 21

foonathan/debug_assert

Simple, flexible and modular assertion macro.

Language: C++ - Size: 52.7 KB - Last synced at: about 1 month ago - Pushed at: about 1 year ago - Stars: 226 - Forks: 21

philbooth/check-types.js πŸ“¦

MOVED TO GITLAB

Language: JavaScript - Size: 589 KB - Last synced at: 2 days ago - Pushed at: over 7 years ago - Stars: 226 - Forks: 32

ma2gedev/power_assert_ex

Power Assert in Elixir. Shows evaluation results each expression.

Language: Elixir - Size: 263 KB - Last synced at: about 1 month ago - Pushed at: over 2 years ago - Stars: 214 - Forks: 6

gpakosz/PPK_ASSERT

PPK_ASSERT is an orthodox drop-in & self-contained C++ assertion library ⚠️

Language: C++ - Size: 342 KB - Last synced at: 8 days ago - Pushed at: over 3 years ago - Stars: 208 - Forks: 16

kishikawakatsumi/SwiftPowerAssert πŸ“¦

Power Assert in Swift. Provides descriptive assertion messages.

Language: Swift - Size: 295 KB - Last synced at: 9 days ago - Pushed at: about 2 years ago - Stars: 198 - Forks: 8

google/resumable-assert πŸ“¦

Assert replacement to continue execution in debugger

Language: C - Size: 39.1 KB - Last synced at: 22 days ago - Pushed at: almost 4 years ago - Stars: 177 - Forks: 11

JamieMason/expect-more

Curried Type Testing library, and Test Matchers for Jest

Language: TypeScript - Size: 1.62 MB - Last synced at: 7 days ago - Pushed at: about 2 years ago - Stars: 171 - Forks: 9

phpstan/phpstan-webmozart-assert

PHPStan extension for webmozart/assert

Language: PHP - Size: 237 KB - Last synced at: about 5 hours ago - Pushed at: 26 days ago - Stars: 169 - Forks: 27

alecthomas/assert

A simple assertion library using Go generics

Language: Go - Size: 129 KB - Last synced at: 1 day ago - Pushed at: 1 day ago - Stars: 160 - Forks: 10

ToQoz/gopwt

PowerAssert library for golang

Language: Go - Size: 3.31 MB - Last synced at: 11 months ago - Pushed at: over 6 years ago - Stars: 149 - Forks: 4

google/assertor

Fluent assertion library for Rust with readable messages.

Language: Rust - Size: 188 KB - Last synced at: 2 days ago - Pushed at: 9 days ago - Stars: 136 - Forks: 15

yyle88/must

The must library simplifies assertions and panics on failure. Assert conditions directly, avoiding long checks

Language: Go - Size: 82 KB - Last synced at: 1 day ago - Pushed at: 1 day ago - Stars: 126 - Forks: 2

yyle88/done

Done allows you to focus on your business logic without repetitive if err != nil patterns.

Language: Go - Size: 53.7 KB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 109 - Forks: 0

de-vri-es/assert2-rs

assert!() and check!() macros for Rust, inspired by Catch2, now with diffs!

Language: Rust - Size: 333 KB - Last synced at: 1 day ago - Pushed at: 4 months ago - Stars: 102 - Forks: 8

skarab42/vite-plugin-vitest-typescript-assert

πŸ”₯ TypeScript type assertion plugin for vitest

Language: TypeScript - Size: 473 KB - Last synced at: 10 days ago - Pushed at: over 1 year ago - Stars: 79 - Forks: 1

svartalf/rust-claim

Assertion macros toolkit for Rust

Language: Rust - Size: 56.6 KB - Last synced at: 5 days ago - Pushed at: about 2 years ago - Stars: 77 - Forks: 9

yyle88/rese

**rese** simplifies Go error handling and result extraction. It combines error and result checks into a single operation.

Language: Go - Size: 40 KB - Last synced at: 24 days ago - Pushed at: 24 days ago - Stars: 75 - Forks: 1

elaichenkov/cy-verify-downloads

Cypress custom command to wait and verify that file has been downloaded

Language: JavaScript - Size: 109 MB - Last synced at: 9 days ago - Pushed at: 9 days ago - Stars: 71 - Forks: 17

smikhalevski/doubter

πŸ€”β€‚Runtime validation and transformation library.

Language: TypeScript - Size: 7.46 MB - Last synced at: 10 days ago - Pushed at: 10 days ago - Stars: 68 - Forks: 1

JohnSundell/Assert

A collection of convenient assertions for Swift testing

Language: Swift - Size: 50.8 KB - Last synced at: about 1 month ago - Pushed at: over 7 years ago - Stars: 68 - Forks: 4

murarth/assert_matches

Provides macro `assert_matches` for testing pattern matching

Language: Rust - Size: 527 KB - Last synced at: 9 days ago - Pushed at: over 4 years ago - Stars: 64 - Forks: 11

becheran/ntest

Testing framework for rust enhancing the built-in library with some useful features.

Language: Rust - Size: 142 KB - Last synced at: 17 days ago - Pushed at: 17 days ago - Stars: 63 - Forks: 10

negrel/assert

0️⃣ Zero cost debug assertions for Go.

Language: Go - Size: 143 KB - Last synced at: 16 days ago - Pushed at: 5 months ago - Stars: 59 - Forks: 3

ktsn/vuex-assert

Assertion for Vuex state

Language: TypeScript - Size: 64.5 KB - Last synced at: 4 days ago - Pushed at: over 8 years ago - Stars: 54 - Forks: 1

oknozor/speculoos

Fluent test assertions for Rust.

Language: Rust - Size: 150 KB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 50 - Forks: 11

zombieleet/testify

A unit testing framework written in bash for bash scripts

Language: Shell - Size: 11.7 KB - Last synced at: about 2 years ago - Pushed at: over 8 years ago - Stars: 47 - Forks: 2

aikoven/assert-never

Helper function for exhaustive checks of discriminated unions in TypeScript

Language: TypeScript - Size: 165 KB - Last synced at: about 1 month ago - Pushed at: 5 months ago - Stars: 45 - Forks: 6

hashicorp/terraform-provider-assert

Offers functions to validate and assert values within Terraform configurations, simplifying variable validation and custom conditions.

Language: Go - Size: 10 MB - Last synced at: 7 days ago - Pushed at: 15 days ago - Stars: 43 - Forks: 8

sinonjs/referee

Test-framework agnostic assertion and expectation library

Language: JavaScript - Size: 7.74 MB - Last synced at: 3 days ago - Pushed at: about 2 months ago - Stars: 43 - Forks: 21

phpstan/phpstan-beberlei-assert

PHPStan extension for beberlei/assert

Language: PHP - Size: 154 KB - Last synced at: about 23 hours ago - Pushed at: 6 days ago - Stars: 42 - Forks: 12

PsychoLlama/expect-enzyme

Enzyme assertions for mjackson's Expect library

Language: JavaScript - Size: 283 KB - Last synced at: 11 days ago - Pushed at: over 7 years ago - Stars: 42 - Forks: 2

wooorm/devlop

do things in development and nothing otherwise

Language: JavaScript - Size: 18.6 KB - Last synced at: about 1 month ago - Pushed at: almost 2 years ago - Stars: 38 - Forks: 2

e2e-boilerplate/playwright-typescript-ts-jest-jest-assert

Playwright end-to-end test automation boilerplate, using TypeScript, Jest and Assert.

Language: TypeScript - Size: 1.77 MB - Last synced at: 11 days ago - Pushed at: 24 days ago - Stars: 36 - Forks: 12

lazarljubenovic/type-guards

Simple utility for runtime type checking which also assigns the correct type if used with TypeScript.

Language: TypeScript - Size: 72.3 KB - Last synced at: 21 days ago - Pushed at: about 2 years ago - Stars: 36 - Forks: 7

browserify/console-browserify

Emulate console for all the browsers

Language: JavaScript - Size: 27.3 KB - Last synced at: about 6 hours ago - Pushed at: 5 months ago - Stars: 34 - Forks: 20

orsinium-labs/tinytest

βœ… The only assertion library that works with TinyGo

Language: Go - Size: 9.77 KB - Last synced at: 26 days ago - Pushed at: about 1 year ago - Stars: 33 - Forks: 0

mesaugat/chai-exclude

Exclude keys to compare from a deep equal operation with chai expect or assert.

Language: JavaScript - Size: 766 KB - Last synced at: 28 days ago - Pushed at: about 1 month ago - Stars: 32 - Forks: 12

sunxfancy/zeroerr

A powerful C++ unit testing/assert/log utils

Language: C++ - Size: 10.4 MB - Last synced at: 29 days ago - Pushed at: about 1 month ago - Stars: 32 - Forks: 1

a8m/expect

Minimalistic BDD-style assertions for Go (inspired by expect.js)

Language: Go - Size: 55.7 KB - Last synced at: about 1 month ago - Pushed at: over 8 years ago - Stars: 31 - Forks: 4

rmdm/assert-match

assert + matchers <3

Language: JavaScript - Size: 96.7 KB - Last synced at: 29 days ago - Pushed at: over 7 years ago - Stars: 29 - Forks: 3

Respect/Assertion

The power of Respect\Validation into an assertion library with more than 1.5k assertions.

Language: PHP - Size: 272 KB - Last synced at: 23 days ago - Pushed at: about 2 years ago - Stars: 28 - Forks: 1

pubkey/async-test-util

Utility functions that are useful in async/await tests :thumbsup:

Language: JavaScript - Size: 213 KB - Last synced at: 6 days ago - Pushed at: 8 days ago - Stars: 27 - Forks: 2

nuskey8/Expect

Expression-based Assertion Library for .NET

Language: C# - Size: 22.5 KB - Last synced at: 7 days ago - Pushed at: 4 months ago - Stars: 27 - Forks: 0

huandu/go-assert

Magic assert macros for Go.

Language: Go - Size: 45.9 KB - Last synced at: 28 days ago - Pushed at: almost 2 years ago - Stars: 27 - Forks: 4

tevid/gohamcrest

🎩 Hamcrest-style matchers for Golang testing

Language: Go - Size: 50.8 KB - Last synced at: 11 months ago - Pushed at: over 5 years ago - Stars: 26 - Forks: 5

appliedblockchain/assert-combinators

Functional assertion combinators.

Language: TypeScript - Size: 253 KB - Last synced at: 8 days ago - Pushed at: over 1 year ago - Stars: 24 - Forks: 2

metarhia/metatests

Extremely simple to use test framework and runner for Metarhia technology stack πŸ§ͺ

Language: JavaScript - Size: 1.11 MB - Last synced at: 2 days ago - Pushed at: 5 months ago - Stars: 19 - Forks: 4

GuillaumeFalourd/assert-command-line-output

Github Action to assert / check a command line output πŸ•΅οΈβš™οΈπŸ–₯

Size: 104 KB - Last synced at: 25 days ago - Pushed at: 8 months ago - Stars: 19 - Forks: 3

sawickiap/ShaderCrashingAssert

Small library for D3D12. Provides assert-like macro for HLSL that crashes the GPU.

Language: C++ - Size: 12.7 KB - Last synced at: over 1 year ago - Pushed at: over 1 year ago - Stars: 19 - Forks: 2

joubertredrat/assert-true

A lot of ways to you set your assert as true

Language: PHP - Size: 33.2 KB - Last synced at: 9 months ago - Pushed at: almost 4 years ago - Stars: 19 - Forks: 8

subzeta/ruling

Stateless rule engine

Language: PHP - Size: 27.3 KB - Last synced at: about 1 month ago - Pushed at: over 7 years ago - Stars: 19 - Forks: 2

dentelis/php-json-structure-validator

Lightweight library to validate/assert json documents structure

Language: PHP - Size: 174 KB - Last synced at: 11 days ago - Pushed at: 12 months ago - Stars: 18 - Forks: 0

bjoluc/pytest-reraise

Make multi-threaded pytest test cases fail when they should

Language: Python - Size: 85.9 KB - Last synced at: about 1 month ago - Pushed at: over 2 years ago - Stars: 18 - Forks: 4

WebReflection/tressa πŸ“¦

Little test utility

Language: JavaScript - Size: 344 KB - Last synced at: 13 days ago - Pushed at: over 6 years ago - Stars: 18 - Forks: 3

ko-ko-ko/php-assert

Fast flexible php assert

Language: PHP - Size: 283 KB - Last synced at: 25 days ago - Pushed at: over 8 years ago - Stars: 18 - Forks: 1

wemake-services/safe-assert

Safe and composable assert for Python that can be used together with optimised mode

Language: Python - Size: 547 KB - Last synced at: 2 days ago - Pushed at: about 1 month ago - Stars: 17 - Forks: 1

lazervel/assert

Assert PHP library for performing assertions, and validations input/output code.

Language: PHP - Size: 18.6 KB - Last synced at: 27 days ago - Pushed at: 6 months ago - Stars: 17 - Forks: 0

issue9/assert

Go 语言 assert 断言函数

Language: Go - Size: 230 KB - Last synced at: 6 months ago - Pushed at: 7 months ago - Stars: 17 - Forks: 4

faabiosr/openapi-assert πŸ“¦

Asserting data against OpenAPI docs.

Language: Go - Size: 129 KB - Last synced at: 4 months ago - Pushed at: about 2 years ago - Stars: 17 - Forks: 1

akshayjshah/attest

Type-safe assertion helpers for Go

Language: Go - Size: 38.1 KB - Last synced at: about 1 month ago - Pushed at: 9 months ago - Stars: 16 - Forks: 2

oguzkaran/JavaApp1-Oct-2021

JavaApp1-Oct-2021

Language: Java - Size: 72.2 MB - Last synced at: 6 days ago - Pushed at: over 2 years ago - Stars: 16 - Forks: 24

SarthakMakhija/clearcheck

Elegant and extensible assertions in rust.

Language: Rust - Size: 401 KB - Last synced at: 13 days ago - Pushed at: over 1 year ago - Stars: 14 - Forks: 0

dataffy/themis

Themis is a validation and processing library that helps you always make sure your data is correct.

Language: TypeScript - Size: 552 KB - Last synced at: 18 days ago - Pushed at: over 2 years ago - Stars: 14 - Forks: 0

busterc/underscore.haz

:mag: _.haz() is like _.has() but this underscore and/or lodash mixin lets you do deep object key existence checking with a dot denoted string, for example 'a.b.c'

Language: JavaScript - Size: 113 KB - Last synced at: 18 days ago - Pushed at: over 10 years ago - Stars: 14 - Forks: 0

rphlmr/comply

Comply is a tiny library to help you define policies in your app

Language: TypeScript - Size: 655 KB - Last synced at: about 6 hours ago - Pushed at: 7 months ago - Stars: 13 - Forks: 0

jcoreio/typescript-validators

API input validators with user-friendly error output and TypeScript to ensure you don't miss any properties

Language: TypeScript - Size: 928 KB - Last synced at: 8 days ago - Pushed at: over 2 years ago - Stars: 12 - Forks: 1

leiless/assertf.h

πŸš€ C header-only formattable assert macros library

Language: C - Size: 71.3 KB - Last synced at: 5 days ago - Pushed at: over 3 years ago - Stars: 11 - Forks: 2

aazuspan/should-test

Build and run unit tests in the Earth Engine code editor

Language: JavaScript - Size: 67.4 KB - Last synced at: about 1 month ago - Pushed at: over 2 years ago - Stars: 10 - Forks: 0

stijnmoreels/FScenario

Reusable integration test building blocks to make writing integration tests more fun.

Language: F# - Size: 10.2 MB - Last synced at: about 1 month ago - Pushed at: over 2 years ago - Stars: 10 - Forks: 2

camundacon2019/process-testing

Fluently test complex processes with BPM Assert

Language: Java - Size: 537 KB - Last synced at: about 2 years ago - Pushed at: over 3 years ago - Stars: 10 - Forks: 4

angu-software/SwiftAsyncAssert

Assert functions to evaluate Swift concurrency async expressions in XCTests.

Language: Swift - Size: 26.4 KB - Last synced at: 9 days ago - Pushed at: 4 months ago - Stars: 9 - Forks: 0

remcohaszing/snapshot-fixtures

Snapshot fixtures for node:test

Language: TypeScript - Size: 248 KB - Last synced at: 22 days ago - Pushed at: 7 months ago - Stars: 9 - Forks: 0

Earewien/godot-simple-test-harness

A simple (yet powerful) test harness to write and run unit tests for Godot Engine

Language: GDScript - Size: 438 KB - Last synced at: about 1 year ago - Pushed at: about 2 years ago - Stars: 9 - Forks: 1

devenbansod/jest-expect-codemod

CodeMods for migrating `chai.assert`, `chai.expect`, `assert` -based test assertions to jest's `expect` assertions

Language: JavaScript - Size: 705 KB - Last synced at: 27 days ago - Pushed at: over 2 years ago - Stars: 9 - Forks: 2

BlackRam-oss/BBS-3D

https://mega.nz/folder/SZhAUa6J#oTtC5auXmgBAMaWl2_SQ-g

Size: 553 MB - Last synced at: 3 months ago - Pushed at: about 3 years ago - Stars: 9 - Forks: 0

Spxg/predicate

Use enum to predicate something, support | and & operator.

Language: Rust - Size: 402 KB - Last synced at: 13 days ago - Pushed at: over 3 years ago - Stars: 9 - Forks: 0

hpple/reflection-assert

Reflection Assert for JUnit 5 & others

Language: Java - Size: 249 KB - Last synced at: over 1 year ago - Pushed at: over 3 years ago - Stars: 9 - Forks: 0

AKushWarrior/should

A BDD-style assertion library for Dart.

Language: Dart - Size: 35.2 KB - Last synced at: 28 days ago - Pushed at: almost 5 years ago - Stars: 9 - Forks: 1

azu/comment-to-assert πŸ“¦

[Archived] Move to monorepo

Language: TypeScript - Size: 125 KB - Last synced at: 22 days ago - Pushed at: over 5 years ago - Stars: 9 - Forks: 0

robertdebock/ansible-role-diskspace

Check diskspace (or inodes) available, fail if too low.

Size: 81.1 KB - Last synced at: 4 days ago - Pushed at: 2 months ago - Stars: 8 - Forks: 3