The Wayback Machine - http://web.archive.org/web/20220722000654/https://github.com/topics/assertions
Skip to content
#

assertions

Here are 447 public repositories matching this topic...

LeoColman
LeoColman commented Jul 16, 2022

https://github.com/kotest/kotest/blob/b47f92247e12bdb43617c762950ed1f392e0afe1/kotest-assertions/kotest-assertions-core/src/commonMain/kotlin/io/kotest/matchers/result/matchers.kt#L62

Currently, a test that tests for

a shouldBeSuccess b

will fail if a is Failure (as expected).

What it won't do is print what was the failure, so there's no way to debug other than, well, debug

enhancement Good First Issue assertions
fluentassertions
aaronpburke
aaronpburke commented Mar 1, 2022

Description

Nested AssertionScopes only report the outer-most scope reportables on failure. This is true regardless of whether the outer scope has any reportables -- i.e., if only the inner scope has reportables, nothing is reported.

Complete minimal example reproducing the issue

[TestMethod]
public void TestNestedAssertionScopes()
{
    using (var outerScope = new A
scordio
scordio commented Jan 23, 2022

Using the existing matches(Pattern) and POSIX regex character classes, we can add specialized assertions to AbstractCharSequenceAssert.

assertThat(string).isAlphabetic();   // \p{Alpha}
assertThat(string).isAlphanumeric(); // \p{Alnum}
assertThat(string).isASCII();        // \p{ASCII}
assertThat(string).isDigit();        // \p{Digit}
assertThat(string).isHexadecimal();  // \p{X
good first issue
jgirault-qs
jgirault-qs commented Jul 23, 2021

Describe the bug
pa.errors.SchemaErrors.failure_cases only returns the first 10 failure_cases

  • I have checked that this issue has not already been reported.
  • I have confirmed this bug exists on the latest version of pandera. 0.6.5
  • (optional) I have confirmed this bug exists on the master branch of pandera.

Note: Please read [this guide](https://matthewrocklin.c

bug help wanted good first issue
authorjapps
authorjapps commented Aug 5, 2020

As a SDET
I want a documentation or Wiki page where the expected vs actual field matching is explained
So that I can use these in my test automation to test the server response payloads and headers
e.g. id=123 , id="123", isValid=true, isValid="true" etc

AC1:

Cover the following currently supported mechanisms with examples

  • $EQ
  • (int)
  • (float) or (decimal)
  • (boolean)
atrium
robstoll
robstoll commented Jun 27, 2022

Platform (all, jvm, js): all
Extension (none, kotlin 1.3): none

Code related feature

Would be nicer to have the build file in Kotlin instead of groovy

Your first contribution?

  • Write a comment I'll work on this if you would like to take this issue over.
    This way we get the chance to revise the description in case things have changed in the meantime, we might give you addi
alexjeffburke
alexjeffburke commented Dec 7, 2019

Normally, the "to be truthy" assertion does not take any value as it simply asserts that a subject can be coerced to a boolean true (in the case of "to be falsy" it is coercion to boolean false).

It seems that early on these assertions inherited an optional form where a custom message can be supplied as their argument - this was likely inspired by earlier assertions frameworks (assert on node

Improve this page

Add a description, image, and links to the assertions topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the assertions topic, visit your repo's landing page and select "manage topics."

Learn more