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

Topic: "assertion"

shouldly/shouldly

Should testing for .NET—the way assertions should be!

Language: C# - Size: 23.5 MB - Last synced at: 2 days ago - Pushed at: 3 days ago - Stars: 3,129 - Forks: 420

alexreardon/tiny-invariant

A tiny invariant function

Language: TypeScript - Size: 1.16 MB - Last synced at: 8 days ago - Pushed at: 9 months ago - Stars: 1,816 - 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: 14 days ago - Pushed at: 8 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.2 MB - Last synced at: 13 days ago - Pushed at: 15 days ago - Stars: 901 - Forks: 18

samber/oops

🔥 Error handling library with context, assertion, stack trace and source fragments

Language: Go - Size: 2.12 MB - Last synced at: 4 days ago - Pushed at: 9 days ago - Stars: 635 - Forks: 22

lorenzofox3/zora

Lightest, yet Fastest Javascript test runner for nodejs and browsers

Language: JavaScript - Size: 2.01 MB - Last synced at: 15 days ago - Pushed at: 6 months ago - Stars: 538 - Forks: 93

getify/TypL

The Type Linter for JS

Language: JavaScript - Size: 215 KB - Last synced at: 20 days ago - Pushed at: over 3 years ago - Stars: 375 - Forks: 13

h2non/pook

HTTP traffic mocking and testing made easy in Python

Language: Python - Size: 430 KB - Last synced at: 13 days ago - Pushed at: 4 months ago - Stars: 353 - Forks: 39

google/pytruth

Assertion framework for Python unit tests

Language: Python - Size: 267 KB - Last synced at: 6 days ago - Pushed at: about 4 years ago - Stars: 159 - Forks: 19

yyle88/must

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

Language: Go - Size: 75.2 KB - Last synced at: 15 days ago - Pushed at: 15 days ago - Stars: 124 - 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: 15 days ago - Pushed at: 15 days ago - Stars: 109 - Forks: 0

mattphillips/babel-jest-assertions

Babel Plugin that adds safety to your tests by verifying assertions are actually ran 🃏⁉️

Language: JavaScript - Size: 588 KB - Last synced at: 13 days ago - Pushed at: over 2 years ago - Stars: 96 - Forks: 3

skarab42/vite-plugin-vitest-typescript-assert

🔥 TypeScript type assertion plugin for vitest

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

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: 8 days ago - Pushed at: 9 days ago - Stars: 75 - Forks: 1

fslev/json-compare

A Java library for comparing JSONs

Language: Java - Size: 741 KB - Last synced at: about 9 hours ago - Pushed at: about 11 hours ago - Stars: 68 - Forks: 13

Thinkmill/jest-expect-contain-deep

Assert deeply nested values in Jest

Language: JavaScript - Size: 319 KB - Last synced at: 5 days ago - Pushed at: over 2 years ago - Stars: 66 - Forks: 5

lateapexearlyspeed/Lateapexearlyspeed.JsonSchema

Simple and high performance json schema implementation for .Net and related json validation in .Net, Nullability info reader even if generic type

Language: C# - Size: 970 KB - Last synced at: 7 days ago - Pushed at: 7 days ago - Stars: 59 - Forks: 4

propensive/probably

To probe what we can't prove, so the unprovable may become probable; testing for Scala

Language: Scala - Size: 4.64 MB - Last synced at: 1 day ago - Pushed at: 2 months ago - Stars: 55 - Forks: 12

bahmutov/cy-spok

Playing with spok inside Cypress

Language: JavaScript - Size: 3.31 MB - Last synced at: 7 days ago - Pushed at: 8 days ago - Stars: 44 - Forks: 6

authorjapps/performance-tests

Sample Performance Testing setup for HTTP REST, SOAP APIs, JUnit4, JUnit5 tests - Generating Load and Stress On a Target Application

Language: Java - Size: 231 KB - Last synced at: 5 months ago - Pushed at: 6 months ago - Stars: 43 - Forks: 22

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: 6 days ago - Pushed at: about 2 years ago - Stars: 36 - Forks: 7

otiai10/mint

The very minimum assertion for Golang testing framework.

Language: Go - Size: 65.4 KB - Last synced at: 4 days ago - Pushed at: almost 2 years ago - Stars: 34 - Forks: 3

sunxfancy/zeroerr

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

Language: C++ - Size: 10.4 MB - Last synced at: 13 days ago - Pushed at: 21 days ago - Stars: 32 - Forks: 1

nyggus/easycheck

A module offering Python functions for simple and readable assertion-like checks to be used inside code, but also in testing.

Language: Python - Size: 316 KB - Last synced at: 2 days ago - Pushed at: 3 days ago - Stars: 22 - Forks: 2

authorjapps/spring-boot-integration-test

Zerocode based integration-tests for a spring-boot application

Language: Java - Size: 360 KB - Last synced at: 11 days ago - Pushed at: 25 days ago - Stars: 19 - Forks: 20

metarhia/metatests

Extremely simple to use test framework and runner for Metarhia technology stack 🧪

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

oswaldobapvicjr/junit-utils

Common utilities for working with JUnit

Language: Java - Size: 176 KB - Last synced at: 17 days ago - Pushed at: 17 days ago - Stars: 18 - Forks: 1

riezebosch/hypothesist

🧐 Hypothesise about future events and validate from a test!

Language: C# - Size: 150 KB - Last synced at: 5 months ago - Pushed at: 5 months ago - Stars: 18 - Forks: 3

issue9/assert

Go 语言 assert 断言函数

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

final-hill/decorator-contracts

Decorator Contracts is a library that provides the ability to create and assign Code Contracts to ECMAScript and TypeScript classes. This enables enforcement of the Liskov substitution principle and the Open-closed principle of SOLID to support Design By Contract™.

Language: TypeScript - Size: 1.65 MB - Last synced at: 8 days ago - Pushed at: 8 months ago - Stars: 17 - Forks: 2

poissonconsulting/checkr

An R package of assertive functions to check the properties of common R objects.

Language: R - Size: 3.28 MB - Last synced at: 4 days ago - Pushed at: 3 months ago - Stars: 13 - Forks: 1

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: 4 days ago - Pushed at: over 2 years ago - Stars: 12 - Forks: 1

xarenard/webauthn_fido_java_react

Webauthn demo with react.js and Spring boot

Language: Java - Size: 1.52 MB - Last synced at: 5 months ago - Pushed at: over 1 year ago - Stars: 11 - Forks: 4

leiless/assertf.h

🚀 C header-only formattable assert macros library

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

TheDhejavu/appattest-rs

Rust module for validating Apple app attestations and assertions.

Language: Rust - Size: 97.7 KB - Last synced at: 17 days ago - Pushed at: 9 months ago - Stars: 9 - Forks: 0

AKushWarrior/should

A BDD-style assertion library for Dart.

Language: Dart - Size: 35.2 KB - Last synced at: 13 days ago - Pushed at: over 4 years ago - Stars: 9 - Forks: 1

jcoreio/typed-validators

complex type validators that generate TypeScript and Flow types for you

Language: TypeScript - Size: 589 KB - Last synced at: 5 days ago - Pushed at: over 2 years ago - Stars: 8 - Forks: 2

bayashi/actually

A testing library focused on turning failure into success

Language: Go - Size: 250 KB - Last synced at: 7 months ago - Pushed at: 8 months ago - Stars: 7 - Forks: 0

fslev/cucumber-jutils

An extension for Cucumber for Java with scenario variables and assertion support

Language: Java - Size: 1.49 MB - Last synced at: 3 days ago - Pushed at: 23 days ago - Stars: 6 - Forks: 0

xybor-x/xycond

A package supports to assert or expect many conditions in Golang

Language: Go - Size: 27.3 KB - Last synced at: 7 months ago - Pushed at: over 2 years ago - Stars: 6 - Forks: 0

meeshkan/freddo 📦

Minimal assertion testing framework for APIs.

Language: JavaScript - Size: 849 KB - Last synced at: 6 days ago - Pushed at: almost 3 years ago - Stars: 6 - Forks: 0

thingsym/bats-assertion

Bats Assertion is a helper script for Bats

Language: Shell - Size: 9.77 KB - Last synced at: 12 days ago - Pushed at: over 4 years ago - Stars: 6 - Forks: 2

fslev/jtest-utils

Match Jsons, Xmls, HTTP Responses and simple texts with regex, polling and data capture support.

Language: Java - Size: 732 KB - Last synced at: 3 days ago - Pushed at: 11 days ago - Stars: 5 - Forks: 1

codefeathers/runtype 📦

Runtime type assertions that return

Language: TypeScript - Size: 407 KB - Last synced at: 28 days ago - Pushed at: 28 days ago - Stars: 5 - Forks: 0

stdlib-js/math-base-assert-is-probability

Test if a numeric value is a probability.

Language: Python - Size: 458 KB - Last synced at: 4 days ago - Pushed at: 4 days ago - Stars: 4 - Forks: 0

stdlib-js/assert

Standard assertion utilities.

Language: JavaScript - Size: 38.7 MB - Last synced at: 14 days ago - Pushed at: 26 days ago - Stars: 4 - Forks: 0

Salmon42/ts-data-objects

Simple lightweight library for enhancing plain JS objects with TypeScript wrappers enabling easy API data assertion and validation.

Language: TypeScript - Size: 358 KB - Last synced at: about 1 month ago - Pushed at: about 2 months ago - Stars: 4 - Forks: 0

vivekkdagar/c-lexical-analyzer

Lexical Analyzer for C made in C++

Language: C++ - Size: 1010 KB - Last synced at: 22 days ago - Pushed at: about 1 year ago - Stars: 4 - Forks: 1

becheran/smock

Mock generator for golang

Language: Go - Size: 569 KB - Last synced at: 6 days ago - Pushed at: about 1 year ago - Stars: 4 - Forks: 0

garghub/seeker

Enabling Efficient Assertion Inference, 34th IEEE International Symposium on Software Reliability Engineering (ISSRE 2023)

Language: Java - Size: 1.38 GB - Last synced at: about 1 year ago - Pushed at: over 1 year ago - Stars: 4 - Forks: 1

CIAvash/T 📦

Raku module for writing test assertions which output good test descriptions and error messages

Language: Raku - Size: 25.4 KB - Last synced at: 3 months ago - Pushed at: almost 3 years ago - Stars: 4 - Forks: 2

Kenneth-hv/typeparse

Runtime object parsing and validation with static TypeScript typing.

Language: TypeScript - Size: 143 KB - Last synced at: 5 days ago - Pushed at: almost 3 years ago - Stars: 4 - Forks: 0

nyggus/check

A Go package for checking conditions for slices and maps.

Language: Go - Size: 31.3 KB - Last synced at: 10 months ago - Pushed at: over 3 years ago - Stars: 4 - Forks: 0

ergebnis/phpunit-framework-constraint 📦

:eyeglasses: Provides additional constraints and assertions for phpunit/phpunit

Language: PHP - Size: 1.12 MB - Last synced at: 23 days ago - Pushed at: over 4 years ago - Stars: 4 - Forks: 0

stdlib-js/assert-contains

Test if an array-like value contains a search value.

Language: JavaScript - Size: 1.05 MB - Last synced at: 14 days ago - Pushed at: 26 days ago - Stars: 3 - Forks: 0

stdlib-js/assert-is-uppercase

Test if a value is an uppercase string.

Language: JavaScript - Size: 638 KB - Last synced at: about 19 hours ago - Pushed at: about 1 month ago - Stars: 3 - Forks: 0

stdlib-js/assert-is-string

Test if a value is a string.

Language: JavaScript - Size: 655 KB - Last synced at: 2 days ago - Pushed at: about 1 month ago - Stars: 3 - Forks: 0

stdlib-js/assert-is-symbol-array

Test if a value is an array-like object containing only symbols.

Language: JavaScript - Size: 520 KB - Last synced at: 14 days ago - Pushed at: about 2 months ago - Stars: 3 - Forks: 0

stdlib-js/assert-is-domain-name

Test if a value is a domain name.

Language: JavaScript - Size: 524 KB - Last synced at: about 24 hours ago - Pushed at: 2 months ago - Stars: 3 - Forks: 0

stdlib-js/assert-deep-equal

Test for deep equality between two values.

Language: JavaScript - Size: 1.52 MB - Last synced at: 13 days ago - Pushed at: 3 months ago - Stars: 3 - Forks: 0

stdlib-js/assert-deep-has-property

Test whether an object contains a nested key path, either own or inherited.

Language: JavaScript - Size: 1.44 MB - Last synced at: 15 days ago - Pushed at: 3 months ago - Stars: 3 - Forks: 0

stdlib-js/assert-is-prime

Test if a value is a prime number.

Language: JavaScript - Size: 614 KB - Last synced at: 7 days ago - Pushed at: 3 months ago - Stars: 3 - Forks: 0

stdlib-js/assert-is-finite

Test if a value is a finite number.

Language: JavaScript - Size: 565 KB - Last synced at: 1 day ago - Pushed at: 4 months ago - Stars: 3 - Forks: 0

stdlib-js/assert-is-ascii

Test whether a character belongs to the ASCII character set and whether this is true for all characters in a provided string.

Language: JavaScript - Size: 599 KB - Last synced at: 13 days ago - Pushed at: 5 months ago - Stars: 3 - Forks: 0

AlexanderMac/n-assert 📦

Node.js assertion library

Language: JavaScript - Size: 274 KB - Last synced at: 3 months ago - Pushed at: 6 months ago - Stars: 3 - Forks: 0

atomicgo/assert

✅ Go package with tons of assertions!

Language: Go - Size: 42 KB - Last synced at: 11 days ago - Pushed at: 9 months ago - Stars: 3 - Forks: 0

mahmoudmohamedramadan/Awesome-PHP

A curated collection of the most valuable PHP packages.

Language: PHP - Size: 112 KB - Last synced at: 5 days ago - Pushed at: 10 months ago - Stars: 3 - Forks: 1

Vection-Framework/Validator

The Vection Validator provides validation of data and schemas. A number of different validators are already included and can be applied in a chained manner.

Language: PHP - Size: 196 KB - Last synced at: 11 months ago - Pushed at: over 2 years ago - Stars: 3 - Forks: 0

jaqueliao/testUtils

java自动化测试工具包

Language: Java - Size: 785 KB - Last synced at: about 2 years ago - Pushed at: almost 4 years ago - Stars: 3 - Forks: 0

reisraff/mockings

Language: Go - Size: 16.6 KB - Last synced at: about 2 months ago - Pushed at: about 4 years ago - Stars: 3 - Forks: 0

ishbguy/baux

BAUX is a bash auxiliary library for writing script.

Language: Shell - Size: 142 KB - Last synced at: over 1 year ago - Pushed at: about 6 years ago - Stars: 3 - Forks: 0

krakphp/validation

PHP Validation made easy

Language: PHP - Size: 68.4 KB - Last synced at: 25 days ago - Pushed at: over 6 years ago - Stars: 3 - Forks: 1

haskell-github-trust/assert

Helpers for Control.Exception.assert

Language: Haskell - Size: 145 KB - Last synced at: 26 days ago - Pushed at: over 11 years ago - Stars: 3 - Forks: 1

stdlib-js/ndarray-base-assert

Base ndarray assertion utilities.

Language: JavaScript - Size: 3.38 MB - Last synced at: about 5 hours ago - Pushed at: about 6 hours ago - Stars: 2 - Forks: 0

masc-ucsc/iassert

A better invariant assertion library with gdb support

Language: C++ - Size: 20.5 KB - Last synced at: 2 days ago - Pushed at: 2 days ago - Stars: 2 - Forks: 0

stdlib-js/math-base-assert-uint32-is-pow2

Test whether an unsigned integer is a power of 2.

Language: Python - Size: 338 KB - Last synced at: 4 days ago - Pushed at: 4 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-matrix-like

Test if a value is a 2-dimensional ndarray-like object.

Language: JavaScript - Size: 1.34 MB - Last synced at: 5 days ago - Pushed at: 5 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-writable-property

Test if an object's own property is writable.

Language: JavaScript - Size: 433 KB - Last synced at: 5 days ago - Pushed at: 5 days ago - Stars: 2 - Forks: 0

Idea-Pool/js-assertion-cheat-sheet

This repository contains examples of various, often used, and tricky assertions in the common JS assertion tools.

Language: MDX - Size: 2.22 MB - Last synced at: 10 days ago - Pushed at: 10 days ago - Stars: 2 - Forks: 3

stdlib-js/math-base-assert-is-positive-zero

Test if a double-precision floating-point numeric value is positive zero.

Language: Python - Size: 453 KB - Last synced at: 2 days ago - Pushed at: 10 days ago - Stars: 2 - Forks: 0

stdlib-js/math-base-assert-is-positive-finite

Test if a numeric value is a positive finite number.

Language: Python - Size: 448 KB - Last synced at: 1 day ago - Pushed at: 10 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-camelcase

Test if a value is a camelcase string.

Language: JavaScript - Size: 585 KB - Last synced at: 2 days ago - Pushed at: 12 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-biguint64array

Test if a value is a BigUint64Array.

Language: JavaScript - Size: 457 KB - Last synced at: 5 days ago - Pushed at: 12 days ago - Stars: 2 - Forks: 0

stdlib-js/math-base-assert-int32-is-odd

Test if a 32-bit integer is odd.

Language: Python - Size: 428 KB - Last synced at: about 18 hours ago - Pushed at: 12 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-class

Test if a value is a class.

Language: JavaScript - Size: 850 KB - Last synced at: 14 days ago - Pushed at: 19 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-square-matrix

Test if a value is a 2-dimensional ndarray-like object having equal dimensions.

Language: JavaScript - Size: 1.48 MB - Last synced at: 13 days ago - Pushed at: 19 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-uint8clampedarray

Test if a value is a Uint8ClampedArray.

Language: JavaScript - Size: 447 KB - Last synced at: 13 days ago - Pushed at: 19 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-vector-like

Test if a value is a 1-dimensional ndarray-like object.

Language: JavaScript - Size: 1.46 MB - Last synced at: 13 days ago - Pushed at: 19 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-error

Test if a value is an Error object.

Language: JavaScript - Size: 659 KB - Last synced at: 13 days ago - Pushed at: 19 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-relative-path

Test if a value is a relative path.

Language: JavaScript - Size: 587 KB - Last synced at: 13 days ago - Pushed at: 19 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-absolute-http-uri

Test whether a value is an absolute HTTP(S) URI.

Language: JavaScript - Size: 620 KB - Last synced at: 14 days ago - Pushed at: 19 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-positive-zero

Test if a value is equal to positive zero.

Language: JavaScript - Size: 504 KB - Last synced at: 13 days ago - Pushed at: 19 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-complex64array

Test if a value is a Complex64Array.

Language: JavaScript - Size: 1.13 MB - Last synced at: 2 days ago - Pushed at: 19 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-skew-symmetric-matrix

Test if a value is a skew-symmetric matrix.

Language: JavaScript - Size: 1.48 MB - Last synced at: 13 days ago - Pushed at: 19 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-current-year

Test if a value is the current year.

Language: JavaScript - Size: 449 KB - Last synced at: 14 days ago - Pushed at: 19 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-nonenumerable-property-in

Test if an object's own or inherited property is non-enumerable.

Language: JavaScript - Size: 828 KB - Last synced at: 13 days ago - Pushed at: 19 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-darwin

Boolean indicating if the current process is running on Darwin.

Language: JavaScript - Size: 364 KB - Last synced at: 6 days ago - Pushed at: 19 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-number

Test if a value is a number.

Language: JavaScript - Size: 575 KB - Last synced at: 14 days ago - Pushed at: 19 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-readable-property

Test if an object's own property is readable.

Language: JavaScript - Size: 442 KB - Last synced at: 13 days ago - Pushed at: 19 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-unity-probability-array

Test if a value is an array of probabilities that sum to one.

Language: JavaScript - Size: 1.04 MB - Last synced at: 13 days ago - Pushed at: 19 days ago - Stars: 2 - Forks: 0