Validate schema with `http-assert`
Give me a string and I'll tell you if it's a valid npm package license string
minimalistic-assert ===
The assert module from Node.js, for the browser.
correct invalid SPDX expressions
Parses, serializes, and manipulates MIME types, according to the WHATWG MIME Sniffing Standard
Synchronous validation of a path existing either as a file or as a directory.
assert with status codes
Dead simple Object schema validation
A robust, ES3 compatible, "has own property" predicate.
Is this value a JS ArrayBuffer?
Extra assertions on top of node's assert module
Is this value a JS SharedArrayBuffer?
validate SPDX license expressions
`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.
Is this specifier a node.js core module?
Is this value a JS Typed Array? This module works cross-realm/iframe, does not depend on `instanceof` or mutable properties, and despite ES6 Symbol.toStringTag.
Which kind of boxed JS primitive is this?
What is the type of this builtin JS value?
`Object.defineProperty`, but not IE 8's broken one.
A helper to optimistically set Symbol.toStringTag, when possible.
A simple and composable way to validate data in JavaScript (and TypeScript).
Robustly get the length of a Typed Array
ES Object-related atoms: Object, ToObject, RequireObjectCoercible
Collection of validations and complex assertions
Standalone PORO assertions and validations
Assertions to validate an html document
Adds a handful of simple, one-liner association and validation assertions to ActiveSupport::TestCase.
Writing specs for complex validations is annoying. AcceptValuesFor makes iteasy to test your validations with real world values, asserting which valuesshould be accepted by your model and which should not.
A collection of assertions for use with minitest and activerecord. Simplifies testing associations and validations by introspecting associations and validations for you models.
RSpec helper that asserts javascript responses are valid
Provides test assertions for the validity of various content types (i.e. HTML, XML CSS, etc).
Provides test assert methods useful for validate JSON documents. It also provides helpers for extracting values using a path syntax.
The Google Sign-In API gives OAuth2 JSON Web Tokens (JWT) as response data upon user sign-in. A necessary step for a service provider to trust such a token is validatation. Accepting the token without validation would allow a malicious client to simply assert itself in your system. Google provides libraries in several languages (https://goo.gl/jkzS18) to accomplish this, as well as an API endpoint that can outsource the task to Google's own servers (thereby introducing an additional network round trip into every authentication step), but a Ruby implementation is missing. This gem fills that gap.
RSpec::Llama is a testing framework that allows developers to easily configure, run, and validate AI models such as OpenAI's GPT models, Llama, and others within the RSpec ecosystem. With a focus on simplicity and extensibility, RSpec::Llama provides: - A standardized approach to configuring different AI models with customizable parameters. - Runners to execute model interactions and capture responses seamlessly. - Comprehensive assertion types to validate model outputs against expected patterns. Whether you are developing AI-powered applications or simply need a reliable way to test various AI models' outputs, RSpec::Llama offers an all-in-one solution that integrates smoothly into your existing RSpec setup.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.