-
Updated
Sep 23, 2020 - JavaScript
assertions
Here are 348 public repositories matching this topic...
-
Updated
Sep 25, 2020 - JavaScript
-
Updated
Sep 4, 2020 - JavaScript
-
Updated
Oct 1, 2020 - Java
New map assertions
Map.shouldContainAnyKeyOf(a,b,...) // contains one of more of the keys
Map.shouldContainAnyValueOf(a, b, ...) // contains one or more of the values
It would be nice to start building Pester on PowerShell 7 as well to see if it is compatible and keep it that way. To achieve that we need to research on which build servers v7 is already available. Right now we are building on TravisCI (Linux and MacOS), on AppVeyor (PowerShell 4+) and AzureDevOps (PowerShell 2&3).
Not sure if the build task needs to run on all three platforms, but it would be
-
Updated
Sep 30, 2020 - C#
-
Updated
Oct 29, 2019 - JavaScript
Summary
ShouldContainOnly is used in a few places where we know what kind of elements we are dealing with, in this case instead of using the term element we could use a more descriptive name.
Example
Spliterator<?> actual = createSpliterator(SORTED | ORDERED);
spliterators.assertHasOnlyCharacteristics(INFO, actual, DISTINCT, SORTED);fails with this error
Date API Proposal
Feature Request
Description:
API for Date matchers. Some matchers are inspired by Jasmine Matchers.
Possible solution:
Jasmine-like matchers:
expect(date).toBeDate(); // Matcher added
expect(date).toBeValidDate(); // Matcher added
expect(date).toBeAfter(otherDate); // Matcher added
expect(date).toBeBefore(otherDa-
Updated
May 19, 2020 - Go
-
Updated
Aug 21, 2020 - TypeScript
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)
Is your feature request related to a problem? Please describe.
Since dropping python 3.5 #142 the pandera code-base can now use f-string formatting for conciseness and
Describe the solution you'd like
- replace all instances of
'%s'formatting withf"{}"string formatting
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
Feb 5, 2020 - R
-
Updated
Aug 8, 2020 - Lua
-
Updated
Oct 1, 2020 - JavaScript
Platform (all, jvm, js, android): all
Extension (none, kotlin 1.3): none
Code related feature
expect(path).contains("test.txt", "dummy.log")
//instead of
expect(path).isDirectory() and {
resolve("test.txt") { exists() }
resolve("dummy.log") { exists() }
}
Following the things you need to do:
api-fluent
- provide a fun
containswhich expects `path:
-
Updated
Sep 19, 2020 - Kotlin
-
Updated
Sep 15, 2020 - PHP
-
Updated
Sep 15, 2020 - Kotlin
-
Updated
Sep 11, 2020 - Clojure
-
Updated
Jan 8, 2018 - JavaScript
-
Updated
Sep 12, 2020 - JavaScript
-
Updated
Sep 29, 2020 - C#
-
Updated
Jan 18, 2017 - JavaScript
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,