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

GitHub topics: assertion

JesseCoretta/go-dirsyn

dirsyn implements directory syntaxes and matching rules -- NOT YET READY FOR PRODUCTION USE

Language: Go - Size: 808 KB - Last synced at: about 20 hours ago - Pushed at: about 20 hours ago - Stars: 0 - Forks: 0

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

shouldly/shouldly

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

Language: C# - Size: 23.5 MB - Last synced at: 41 minutes ago - Pushed at: 5 days ago - Stars: 3,150 - Forks: 420

stdlib-js/array-base-assert

Base array assertion utilities.

Language: JavaScript - Size: 3.11 MB - Last synced at: 4 days ago - Pushed at: 4 days ago - Stars: 1 - Forks: 0

stdlib-js/assert-has-property

Test if an object has a specified property, either own or inherited.

Language: JavaScript - Size: 370 KB - Last synced at: 4 days ago - Pushed at: 4 days ago - Stars: 1 - Forks: 0

samber/oops

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

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

bahmutov/cy-spok

Playing with spok inside Cypress

Language: JavaScript - Size: 3.03 MB - Last synced at: 5 days ago - Pushed at: 5 days ago - Stars: 45 - Forks: 6

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: 986 KB - Last synced at: 4 days ago - Pushed at: 4 days ago - Stars: 63 - Forks: 4

anhmaydeptraivailon/math-base-assert-is-probabilityf

Test if a single-precision floating-point number is a probability.

Size: 1000 Bytes - Last synced at: 5 days ago - Pushed at: 5 days ago - Stars: 0 - Forks: 0

alexreardon/tiny-invariant

A tiny invariant function

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

mattiaspersson09/junisert

Java unit assertion framework

Language: Java - Size: 295 KB - Last synced at: 6 days ago - Pushed at: 6 days ago - Stars: 1 - Forks: 0

oswaldobapvicjr/junit-utils

Common utilities for working with JUnit

Language: Java - Size: 179 KB - Last synced at: 2 days ago - Pushed at: 4 days ago - Stars: 18 - Forks: 1

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

stdlib-js/assert-is-typed-array-like

Test if a value is typed-array-like.

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

stdlib-js/assert-is-node-repl

Check if running in a Node.js REPL environment.

Language: JavaScript - Size: 401 KB - Last synced at: 6 days ago - Pushed at: 6 days ago - Stars: 1 - Forks: 0

stdlib-js/assert

Standard assertion utilities.

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

stdlib-js/assert-napi-status-ok

C utilities for asserting that a Node-API call returns an "ok" status.

Language: C - Size: 179 KB - Last synced at: 8 days ago - Pushed at: 8 days ago - Stars: 1 - Forks: 0

stefcameron/rtvjs

Runtime Verification JavaScript Library that supports serialization as JSON.

Language: JavaScript - Size: 3.57 MB - Last synced at: 11 days ago - Pushed at: 11 days ago - Stars: 0 - Forks: 0

elastic/harp-plugins

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

Language: Go - Size: 886 KB - Last synced at: 6 days ago - Pushed at: 11 days ago - Stars: 2 - Forks: 3

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

stdlib-js/ndarray-base-assert

Base ndarray assertion utilities.

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

fslev/json-compare

A Java library for comparing JSONs

Language: Java - Size: 741 KB - Last synced at: 15 days ago - Pushed at: 15 days ago - Stars: 68 - Forks: 13

masc-ucsc/iassert

A better invariant assertion library with gdb support

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

getify/TypL

The Type Linter for JS

Language: JavaScript - Size: 215 KB - Last synced at: 1 day ago - Pushed at: over 3 years ago - Stars: 377 - Forks: 13

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

Test if a single-precision floating-point number is a probability.

Language: Python - Size: 229 KB - Last synced at: 19 days ago - Pushed at: 19 days ago - Stars: 0 - 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: 19 days ago - Pushed at: 19 days ago - Stars: 4 - 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: 19 days ago - Pushed at: 19 days ago - Stars: 2 - Forks: 0

lorenzofox3/zora

Lightest, yet Fastest Javascript test runner for nodejs and browsers

Language: JavaScript - Size: 2.01 MB - Last synced at: 4 days ago - Pushed at: 7 months ago - Stars: 540 - Forks: 95

stdlib-js/assert-is-writable-property

Test if an object's own property is writable.

Language: JavaScript - Size: 433 KB - Last synced at: 20 days ago - Pushed at: 20 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: 20 days ago - Pushed at: 20 days ago - Stars: 2 - Forks: 0

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

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: 25 days ago - Pushed at: 25 days ago - Stars: 2 - Forks: 3

stdlib-js/math-base-assert-is-nonnegative-integer

Test if a finite double-precision floating-point number is a nonnegative integer.

Language: Python - Size: 365 KB - Last synced at: 2 days ago - Pushed at: 25 days ago - Stars: 1 - Forks: 0

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: 17 days ago - Pushed at: 25 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: 6 days ago - Pushed at: 25 days ago - Stars: 2 - Forks: 0

stdlib-js/math-base-assert-is-safe-integer

Test if a finite double-precision floating-point number is a safe integer.

Language: Python - Size: 449 KB - Last synced at: 5 days ago - Pushed at: 25 days ago - Stars: 1 - Forks: 0

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

Test if a number is composite.

Language: Python - Size: 525 KB - Last synced at: 12 days ago - Pushed at: 26 days ago - Stars: 1 - Forks: 0

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

Test if a single-precision floating-point numeric value is finite.

Language: Python - Size: 582 KB - Last synced at: 18 days ago - Pushed at: 26 days ago - Stars: 1 - Forks: 0

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

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

Language: Python - Size: 442 KB - Last synced at: 15 days ago - Pushed at: 26 days ago - Stars: 1 - Forks: 0

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: 18 days ago - Pushed at: 27 days ago - Stars: 5 - Forks: 1

metarhia/metatests

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

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

stdlib-js/assert-is-biguint64array

Test if a value is a BigUint64Array.

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

stdlib-js/assert-is-nonnegative-integer

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

Language: JavaScript - Size: 639 KB - Last synced at: 10 days ago - Pushed at: 27 days ago - Stars: 1 - Forks: 0

stdlib-js/assert-is-camelcase

Test if a value is a camelcase string.

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

stdlib-js/assert-is-arraybuffer

Test if a value is an ArrayBuffer.

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

stdlib-js/assert-is-enumerable-property

Test if an object's own property is enumerable.

Language: JavaScript - Size: 696 KB - Last synced at: 11 days ago - Pushed at: 27 days ago - Stars: 1 - Forks: 0

stdlib-js/assert-is-well-formed-string

Test if a string is a well-formed string.

Language: JavaScript - Size: 206 KB - Last synced at: 6 days ago - Pushed at: 27 days ago - Stars: 1 - Forks: 0

stdlib-js/assert-is-array

Test if a value is an array.

Language: JavaScript - Size: 460 KB - Last synced at: about 10 hours ago - Pushed at: 27 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-empty-collection

Test if a value is an empty collection.

Language: JavaScript - Size: 345 KB - Last synced at: 16 days ago - Pushed at: 27 days ago - Stars: 1 - Forks: 0

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

Test if a value is a skew-centrosymmetric matrix.

Language: JavaScript - Size: 1.35 MB - Last synced at: 16 days ago - Pushed at: 27 days ago - Stars: 1 - Forks: 0

stdlib-js/assert-is-dataview

Test if a value is a DataView.

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

stdlib-js/assert-is-float64ndarray-like

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

Language: JavaScript - Size: 1.45 MB - Last synced at: 3 days ago - Pushed at: 27 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-property-key

Test whether a value is a property key.

Language: JavaScript - Size: 563 KB - Last synced at: 4 days ago - Pushed at: 27 days ago - Stars: 1 - Forks: 0

stdlib-js/assert-is-kebabcase

Test if a value is a string in kebab case

Language: JavaScript - Size: 643 KB - Last synced at: 15 days ago - Pushed at: 27 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: 16 days ago - Pushed at: 28 days ago - Stars: 2 - Forks: 0

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

DandyMaulana19/PHP-Unit

Repository tugas mata kuliah Pengujian Perangkat Lunak

Language: PHP - Size: 1.06 MB - Last synced at: 27 days ago - Pushed at: about 1 month ago - Stars: 0 - Forks: 0

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

iiithf/nodejs-reference

Node.js is an open-source, cross-platform, back-end, JavaScript runtime environment that executes JavaScript code outside a web browser.

Size: 10.4 MB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 1 - Forks: 0

Serrin/assert.js

A very simple assert function and microlibrary.

Language: CSS - Size: 60.5 KB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 0 - 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: 28 days ago - Pushed at: about 1 month 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: 29 days ago - Pushed at: about 1 month ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-inherited-property

Test if an object has an inherited property.

Language: JavaScript - Size: 394 KB - Last synced at: 29 days ago - Pushed at: about 1 month ago - Stars: 1 - Forks: 0

stdlib-js/assert-is-snakecase

Test if a value is a string in snake case.

Language: JavaScript - Size: 534 KB - Last synced at: 30 days ago - Pushed at: about 1 month ago - Stars: 1 - Forks: 0

stdlib-js/assert-is-complex64ndarray-like

Test if a value is an ndarray-like object containing single-precision complex floating-point numbers.

Language: JavaScript - Size: 664 KB - Last synced at: 17 days ago - Pushed at: about 1 month ago - Stars: 1 - 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: 28 days ago - Pushed at: about 1 month 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: 4 days ago - Pushed at: about 1 month 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: 11 days ago - Pushed at: about 1 month 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: 28 days ago - Pushed at: about 1 month 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: 28 days ago - Pushed at: about 1 month ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-complex128matrix-like

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

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

stdlib-js/assert-is-same-complex64array

Test if two arguments are both Complex64Arrays and have the same values.

Language: JavaScript - Size: 1.33 MB - Last synced at: 4 days ago - Pushed at: about 1 month ago - Stars: 1 - Forks: 0

stdlib-js/assert-is-complex64array

Test if a value is a Complex64Array.

Language: JavaScript - Size: 1.13 MB - Last synced at: 17 days ago - Pushed at: about 1 month 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: 2 days ago - Pushed at: about 1 month 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: about 10 hours ago - Pushed at: about 1 month ago - Stars: 2 - Forks: 0

stdlib-js/math-base-assert-is-negative-integer

Test if a finite double-precision floating-point number is a negative integer.

Language: Python - Size: 410 KB - Last synced at: 28 days ago - Pushed at: about 1 month ago - Stars: 1 - Forks: 0

stdlib-js/number-float64-base-assert-is-same-value

Test if two double-precision floating-point numbers are the same value.

Language: Python - Size: 198 KB - Last synced at: about 6 hours ago - Pushed at: about 1 month ago - Stars: 1 - 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: 28 days ago - Pushed at: about 1 month ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-localhost

Test whether a value is a localhost hostname.

Language: JavaScript - Size: 539 KB - Last synced at: 28 days ago - Pushed at: about 1 month ago - Stars: 1 - Forks: 0

stdlib-js/assert-is-negative-integer-array

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

Language: JavaScript - Size: 643 KB - Last synced at: 28 days ago - Pushed at: about 1 month ago - Stars: 1 - Forks: 0

stdlib-js/assert-is-number

Test if a value is a number.

Language: JavaScript - Size: 575 KB - Last synced at: 29 days ago - Pushed at: about 1 month 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: 28 days ago - Pushed at: about 1 month 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: 21 days ago - Pushed at: about 1 month ago - Stars: 2 - Forks: 0

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

Test if a finite single-precision floating-point number is an odd number.

Language: Python - Size: 225 KB - Last synced at: 28 days ago - Pushed at: about 1 month ago - Stars: 0 - Forks: 0

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

Test if a finite numeric value is an odd number.

Language: Python - Size: 476 KB - Last synced at: 28 days ago - Pushed at: about 1 month ago - Stars: 1 - Forks: 0

stdlib-js/assert-is-booleanarray

Test if a value is a BooleanArray.

Language: JavaScript - Size: 289 KB - Last synced at: 28 days ago - Pushed at: about 1 month ago - Stars: 1 - Forks: 0

stdlib-js/assert-is-startcase

Test if a value is a startcase string.

Language: JavaScript - Size: 800 KB - Last synced at: 7 days ago - Pushed at: about 1 month 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: 28 days ago - Pushed at: about 1 month ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-nonenumerable-property

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

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

stdlib-js/assert-is-uri

Test if a value is a URI.

Language: JavaScript - Size: 617 KB - Last synced at: 28 days ago - Pushed at: about 1 month ago - Stars: 2 - Forks: 1

stdlib-js/assert-is-triangular-number

Test if a value is a triangular number.

Language: JavaScript - Size: 654 KB - Last synced at: 28 days ago - Pushed at: about 1 month ago - Stars: 1 - Forks: 0

stdlib-js/assert-is-complex64

Test if a value is a 64-bit complex number.

Language: JavaScript - Size: 750 KB - Last synced at: 28 days ago - Pushed at: about 1 month ago - Stars: 1 - Forks: 0

stdlib-js/assert-is-anagram

Test if a value is an anagram.

Language: JavaScript - Size: 915 KB - Last synced at: 18 days ago - Pushed at: about 1 month ago - Stars: 1 - Forks: 0

stdlib-js/assert-is-complex128

Test if a value is a 128-bit complex number.

Language: JavaScript - Size: 688 KB - Last synced at: 29 days ago - Pushed at: about 1 month ago - Stars: 1 - Forks: 0

stdlib-js/assert-is-truthy-array

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

Language: JavaScript - Size: 465 KB - Last synced at: 29 days ago - Pushed at: about 1 month ago - Stars: 1 - Forks: 0

stdlib-js/assert-napi-equal-types

Assert that two Node-API data types are equal.

Language: Python - Size: 202 KB - Last synced at: 28 days ago - Pushed at: about 1 month ago - Stars: 1 - Forks: 0

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

Test if two numbers are coprime.

Language: JavaScript - Size: 453 KB - Last synced at: 28 days ago - Pushed at: about 1 month ago - Stars: 1 - Forks: 0

stdlib-js/ndarray-base-assert-is-buffer-length-compatible-shape

Determine if a buffer length is compatible with a provided shape array.

Language: C - Size: 413 KB - Last synced at: 28 days ago - Pushed at: about 1 month ago - Stars: 1 - 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: 18 days ago - Pushed at: about 1 month ago - Stars: 6 - 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: 29 days ago - Pushed at: about 1 month ago - Stars: 3 - Forks: 0