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: about 2 months ago - Pushed at: 3 months ago - Stars: 3,281 - Forks: 426

alexreardon/tiny-invariant

A tiny invariant function

Language: TypeScript - Size: 1.16 MB - Last synced at: 3 days ago - Pushed at: over 1 year ago - Stars: 1,867 - Forks: 47

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: 3 months ago - Pushed at: over 1 year ago - Stars: 1,284 - Forks: 84

wellwelwel/poku

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

Language: TypeScript - Size: 19.1 MB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 1,134 - Forks: 26

samber/oops

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

Language: Go - Size: 2.21 MB - Last synced at: 22 days ago - Pushed at: 26 days ago - Stars: 810 - Forks: 31

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: about 1 year ago - Stars: 544 - Forks: 96

getify/TypL

The Type Linter for JS

Language: JavaScript - Size: 215 KB - Last synced at: 3 months ago - Pushed at: about 4 years ago - Stars: 381 - Forks: 12

h2non/pook

HTTP traffic mocking and testing made easy in Python

Language: Python - Size: 441 KB - Last synced at: about 2 months ago - Pushed at: 6 months ago - Stars: 362 - Forks: 42

google/pytruth

Assertion framework for Python unit tests

Language: Python - Size: 267 KB - Last synced at: 3 days ago - Pushed at: almost 5 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: 124 KB - Last synced at: 10 days ago - Pushed at: 13 days ago - Stars: 149 - Forks: 3

yyle88/done

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

Language: Go - Size: 88.9 KB - Last synced at: about 2 months ago - Pushed at: about 2 months ago - Stars: 133 - Forks: 1

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: about 2 months ago - Pushed at: almost 3 years ago - Stars: 96 - Forks: 2

yyle88/rese

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

Language: Go - Size: 64.5 KB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 93 - Forks: 1

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: 1020 KB - Last synced at: 23 days ago - Pushed at: 27 days ago - Stars: 84 - Forks: 5

skarab42/vite-plugin-vitest-typescript-assert

🔥 TypeScript type assertion plugin for vitest

Language: TypeScript - Size: 473 KB - Last synced at: 2 months ago - Pushed at: about 2 years ago - Stars: 78 - Forks: 1

fslev/json-compare

A Java library for comparing JSONs

Language: Java - Size: 747 KB - Last synced at: 27 days ago - Pushed at: 29 days ago - Stars: 71 - Forks: 14

Thinkmill/jest-expect-contain-deep

Assert deeply nested values in Jest

Language: JavaScript - Size: 319 KB - Last synced at: 21 days ago - Pushed at: almost 3 years ago - Stars: 65 - Forks: 5

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: 29 days ago - Pushed at: 11 months ago - Stars: 55 - Forks: 12

bahmutov/cy-spok

Playing with spok inside Cypress

Language: TypeScript - Size: 3.7 MB - Last synced at: 17 days ago - Pushed at: 19 days ago - Stars: 45 - 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: 226 KB - Last synced at: 2 months ago - Pushed at: 9 months ago - Stars: 44 - 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: 3 months ago - Pushed at: almost 3 years ago - Stars: 36 - Forks: 7

sunxfancy/zeroerr

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

Language: C++ - Size: 10.4 MB - Last synced at: 6 months ago - Pushed at: 9 months ago - Stars: 34 - Forks: 2

otiai10/mint

The very minimum assertion for Golang testing framework.

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

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: 332 KB - Last synced at: 2 months ago - Pushed at: 7 months ago - Stars: 23 - Forks: 2

riezebosch/hypothesist

🧐 Hypothesise about future events and validate from a test!

Language: C# - Size: 152 KB - Last synced at: 15 days ago - Pushed at: about 1 year ago - Stars: 21 - Forks: 3

metarhia/metatests

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

Language: JavaScript - Size: 1.16 MB - Last synced at: 7 days ago - Pushed at: 9 days ago - Stars: 19 - Forks: 4

authorjapps/spring-boot-integration-test

Zerocode based integration-tests for a spring-boot application

Language: Java - Size: 360 KB - Last synced at: 9 months ago - Pushed at: 9 months ago - Stars: 19 - Forks: 20

oswaldobapvicjr/junit-utils

Common utilities for working with JUnit

Language: Java - Size: 203 KB - Last synced at: 2 months ago - Pushed at: 2 months ago - Stars: 18 - Forks: 1

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.43 MB - Last synced at: 3 months ago - Pushed at: 7 months ago - Stars: 18 - Forks: 2

issue9/assert

Go 语言 assert 断言函数

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

poissonconsulting/checkr

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

Language: R - Size: 3.5 MB - Last synced at: 2 months ago - Pushed at: 7 months ago - Stars: 13 - Forks: 1

xarenard/webauthn_fido_java_react

Webauthn demo with react.js and Spring boot

Language: Java - Size: 1.52 MB - Last synced at: 8 months ago - Pushed at: over 2 years ago - Stars: 12 - Forks: 4

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: 5 days ago - Pushed at: almost 3 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: 3 months ago - Pushed at: about 4 years ago - Stars: 11 - Forks: 2

bayashi/actually

A testing library focused on turning failure into success

Language: Go - Size: 351 KB - Last synced at: 2 months ago - Pushed at: 3 months ago - Stars: 10 - Forks: 0

TheDhejavu/appattest-rs

Rust module for validating Apple app attestations and assertions.

Language: Rust - Size: 97.7 KB - Last synced at: 3 months ago - Pushed at: over 1 year ago - Stars: 9 - Forks: 5

AKushWarrior/should

A BDD-style assertion library for Dart.

Language: Dart - Size: 35.2 KB - Last synced at: 4 months ago - Pushed at: over 5 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 3 years ago - Stars: 8 - Forks: 2

fslev/cucumber-jutils

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

Language: Java - Size: 1.5 MB - Last synced at: about 2 months ago - Pushed at: about 2 months 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: over 1 year ago - Pushed at: about 3 years ago - Stars: 6 - Forks: 0

meeshkan/freddo 📦

Minimal assertion testing framework for APIs.

Language: JavaScript - Size: 849 KB - Last synced at: 4 months ago - Pushed at: over 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: 4 months ago - Pushed at: about 5 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: 766 KB - Last synced at: about 2 months ago - Pushed at: about 2 months ago - Stars: 5 - Forks: 1

codefeathers/runtype 📦

Runtime type assertions that return

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

boneskull/bupkis

Uncommonly extensible assertions for the beautiful people

Language: TypeScript - Size: 3.88 MB - Last synced at: 5 days ago - Pushed at: 5 days ago - Stars: 4 - Forks: 0

stdlib-js/assert

Standard assertion utilities.

Language: JavaScript - Size: 43.1 MB - Last synced at: 2 days ago - Pushed at: 6 days ago - Stars: 4 - Forks: 0

stdlib-js/assert-is-finite

Test if a value is a finite number.

Language: JavaScript - Size: 596 KB - Last synced at: 2 months ago - Pushed at: 2 months ago - Stars: 4 - Forks: 0

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

Test if a numeric value is a probability.

Language: Python - Size: 462 KB - Last synced at: 3 months ago - Pushed at: 8 months 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: 4 months ago - Pushed at: 10 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: 4 months ago - Pushed at: over 1 year ago - Stars: 4 - Forks: 1

becheran/smock

Mock generator for golang

Language: Go - Size: 569 KB - Last synced at: 9 months ago - Pushed at: almost 2 years 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: over 1 year ago - Pushed at: about 2 years 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: over 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: 3 months ago - Pushed at: over 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: over 1 year ago - Pushed at: over 4 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: 3 months ago - Pushed at: about 5 years ago - Stars: 4 - Forks: 0

stdlib-js/assert-contains

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

Language: JavaScript - Size: 1.22 MB - Last synced at: 27 days ago - Pushed at: 29 days 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.45 MB - Last synced at: about 2 months ago - Pushed at: about 2 months ago - Stars: 3 - Forks: 0

stdlib-js/assert-is-prime

Test if a value is a prime number.

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

jcoreio/chai-wait-for

poll until an assertion succeeds

Language: TypeScript - Size: 1010 KB - Last synced at: 3 months ago - Pushed at: 3 months ago - Stars: 3 - Forks: 0

stdlib-js/assert-deep-equal

Test for deep equality between two values.

Language: JavaScript - Size: 1.54 MB - Last synced at: 3 months ago - Pushed at: 4 months ago - Stars: 3 - Forks: 0

stdlib-js/assert-is-uppercase

Test if a value is an uppercase string.

Language: JavaScript - Size: 652 KB - Last synced at: 3 months ago - Pushed at: 5 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: 608 KB - Last synced at: 3 months ago - Pushed at: 7 months 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: 3 months ago - Pushed at: 9 months 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: 2 days ago - Pushed at: 10 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: 2 months ago - Pushed at: 10 months ago - Stars: 3 - Forks: 0

AlexanderMac/n-assert 📦

Node.js assertion library

Language: JavaScript - Size: 274 KB - Last synced at: 11 months ago - Pushed at: about 1 year ago - Stars: 3 - Forks: 0

atomicgo/assert

✅ Go package with tons of assertions!

Language: Go - Size: 42 KB - Last synced at: 9 months ago - Pushed at: over 1 year 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: 18 days ago - Pushed at: over 1 year 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: 5 months ago - Pushed at: over 3 years ago - Stars: 3 - Forks: 0

jaqueliao/testUtils

java自动化测试工具包

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

reisraff/mockings

Language: Go - Size: 16.6 KB - Last synced at: 5 months ago - Pushed at: almost 5 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 2 years ago - Pushed at: almost 7 years ago - Stars: 3 - Forks: 0

krakphp/validation

PHP Validation made easy

Language: PHP - Size: 68.4 KB - Last synced at: 4 months ago - Pushed at: over 7 years ago - Stars: 3 - Forks: 1

haskell-github-trust/assert

Helpers for Control.Exception.assert

Language: Haskell - Size: 145 KB - Last synced at: 7 months ago - Pushed at: about 12 years ago - Stars: 3 - Forks: 1

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

Test if a value is a skew-symmetric matrix.

Language: JavaScript - Size: 1.33 MB - Last synced at: 8 days ago - Pushed at: 9 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-native-function

Test if a value is a native function.

Language: JavaScript - Size: 712 KB - Last synced at: 8 days ago - Pushed at: 9 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: 699 KB - Last synced at: 3 days ago - Pushed at: 9 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-deep-has-own-property

Test whether an object contains a nested key path.

Language: JavaScript - Size: 1.26 MB - Last synced at: 24 days ago - Pushed at: 26 days ago - Stars: 2 - Forks: 0

stdlib-js/ndarray-base-assert

Base ndarray assertion utilities.

Language: JavaScript - Size: 4.13 MB - Last synced at: 26 days ago - Pushed at: 29 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.24 MB - Last synced at: 26 days ago - Pushed at: 29 days ago - Stars: 2 - Forks: 3

elastic/harp-plugins

Harp Plugins - It uses Harp SDK to provide new features to your secret management pipelines.

Language: Go - Size: 623 KB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 2 - Forks: 4

stdlib-js/assert-instance-of

Test whether a value has in its prototype chain a specified constructor as a prototype property.

Language: JavaScript - Size: 603 KB - Last synced at: about 2 months ago - Pushed at: about 2 months ago - Stars: 2 - Forks: 0

stdlib-js/math-base-assert

Standard library basic mathematical assertion utilities.

Language: JavaScript - Size: 1.03 MB - Last synced at: about 2 months ago - Pushed at: about 2 months ago - Stars: 2 - Forks: 0

masc-ucsc/iassert

A better invariant assertion library with gdb support

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

stdlib-js/assert-is-square-number

Test if a value is a square number.

Language: JavaScript - Size: 646 KB - Last synced at: 2 months ago - Pushed at: 2 months ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-probability

Test if a value is a probability.

Language: JavaScript - Size: 537 KB - Last synced at: 2 months ago - Pushed at: 2 months ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-nonpositive-number

Test if a value is a number having a nonpositive value.

Language: JavaScript - Size: 543 KB - Last synced at: 2 months ago - Pushed at: 2 months ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-positive-zero

Test if a value is equal to positive zero.

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

stdlib-js/assert-is-positive-integer

Test if a value is a number having a positive integer value.

Language: JavaScript - Size: 647 KB - Last synced at: 2 months ago - Pushed at: 2 months ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-negative-zero

Test if a value is equal to negative zero.

Language: JavaScript - Size: 569 KB - Last synced at: 2 months ago - Pushed at: 2 months ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-nonnegative-number-array

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

Language: JavaScript - Size: 646 KB - Last synced at: 2 months ago - Pushed at: 2 months ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-negative-number

Test if a value is a number having a negative value.

Language: JavaScript - Size: 579 KB - Last synced at: 2 months ago - Pushed at: 2 months ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-nan

Test if a value is NaN.

Language: JavaScript - Size: 648 KB - Last synced at: 2 months ago - Pushed at: 2 months ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-integer

Test if a value is a number having an integer value.

Language: JavaScript - Size: 642 KB - Last synced at: 2 months ago - Pushed at: 2 months ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-number

Test if a value is a number.

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

stdlib-js/assert-is-boolean

Test if a value is a boolean.

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

stdlib-js/assert-is-boolean-array

Test if a value is an array-like object of booleans.

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

stdlib-js/assert-is-camelcase

Test if a value is a camelcase string.

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

stdlib-js/assert-is-float64matrix-like

Test if a value is a 2-dimensional ndarray-like object containing double-precision floating-point numbers.

Language: JavaScript - Size: 1.97 MB - Last synced at: 3 months ago - Pushed at: 3 months ago - Stars: 2 - Forks: 0