-
Updated
Mar 20, 2022 - JavaScript
assertions
Here are 439 public repositories matching this topic...
-
Updated
Apr 26, 2022 - JavaScript
-
Updated
May 14, 2022 - JavaScript
-
Updated
May 27, 2022 - Java
On top of being able to specify item type, which must hold for every item, it should be possible to specify the contains schema, which must hold true for at least 1 item by default. It should be possible to specify min/max times the schema may occur using minContains
, maxContains
.
See https://json-schema.org/understanding-json-schema/reference/array.html#contains
As part of this,
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
Summary of the feature request
As a contributor or maintainer of a project I'd like to be able to help other contributors to correctly mock functions by failing a test if a mock does not exist. This would be very useful in situations when there are very complex scripts that handle a lot of scenarios and using a lot of external helper functions.
The ask would be to add a new parameter to `Mo
Feature summary
assertThat(Arrays.asList(1, 2, 3, 4)).containsExactly(1, 3, 2, 4);
yields the following error message:
java.lang.AssertionError:
Actual and expected have the same elements but not in the same order, at index 1 actual element was:
2
whereas expected element was:
3
Note that 1
and 4
are not displayed in the error message.
**I s
-
Updated
Oct 29, 2019 - JavaScript
-
Updated
Mar 30, 2022 - Go
-
Updated
Mar 9, 2022 - TypeScript
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
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)
-
Updated
May 25, 2022 - Shell
-
Updated
Mar 3, 2021 - Lua
-
Updated
Apr 1, 2022 - Kotlin
While working on a fix for frankban/quicktest#125 it appeared that there could be an opportunity for improving the Not(Checker)
error message for standard checkers, such as Equals, IsTrue etc.
-
Updated
May 26, 2022 - Kotlin
Platform (all, jvm, js): all
Extension (none, kotlin 1.3): none
Code related feature
Following the things you need to do:
- see TODOs in MapToContainInOrderOnlyKeyValueExpectationsSpec
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 c
-
Updated
Jan 28, 2021 - R
-
Updated
May 4, 2022 - PHP
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
-
Updated
Oct 4, 2020 - Kotlin
-
Updated
Apr 28, 2022 - JavaScript
-
Updated
May 18, 2022 - Go
Improve this page
Add a description, image, and links to the assertions topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the assertions topic, visit your repo's landing page and select "manage topics."
Hi,
It seems like the HTTP Assert package does not allow me to specify a body to pass in a POST request for example. Looking at the
HTTPBody()
function, the body argument is set tonil
:req, err := http.NewRequest(method, url+"?"+values.Encode(), nil)
Is this by design, or am I looking at a missing feature?
Cheers,