assertion
Here are 346 public repositories matching this topic...
-
Updated
Jan 28, 2022 - Python
Add the following extensions methods for dictionaries:
var dictionary = new Dictionary<string, string>
{
["key1"] = "value1",
["key2"] = "value2",
};
dictionary.Throw().IfContainsKey("key1");
dictionary.Throw().IfNotContainsKey("key3");And the corresponding dictionary properties extension methods:
var dictionary = new Dictionary<string, string-
Updated
Sep 21, 2021 - JavaScript
The report shows the timings of each test without any units, and these should be shown. The same units should be used for every test in the report (or at least in the same suite). Test times are currently measured in milliseconds (using System.currentTimeMillis though, it would make sense to display them in either ms or s. However, it may also be worthwhile recording System.nanoTime *as we
-
Updated
Oct 13, 2020 - Java
Add "throwUnless"
Instead of writing tg.throwIf(tg.isNot(tg.isString)), it would be nicer to write tg.throwUnless(tg.isString).
-
Updated
Mar 17, 2022 - JavaScript
-
Updated
Feb 11, 2022 - TypeScript
-
Updated
Jan 3, 2022 - Java
-
Updated
Feb 27, 2022 - Java
- It would make sense (and greatly improve the 'testing flow') if
.exists,.is, and.eachcould be chained to the.exprfunction:
await freddo('https://api.example.com')
.status(200)
.expr('.total_count').exists()
.expr('.incomplete_results').is('boolean')
.expr('.items.node_id').each(validator.isBase64)
.ensure()-
Updated
Dec 15, 2021 - TypeScript
-
Updated
Dec 13, 2020 - PHP
-
Updated
Feb 21, 2022 - TypeScript
-
Updated
Jan 29, 2022 - TypeScript
Improve this page
Add a description, image, and links to the assertion topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the assertion topic, visit your repo's landing page and select "manage topics."
For now, the theme is harcoded in the code. Ideally we want the user to be able to load its custom theme from a simple json file. This will allow for example to address accessibility issues (for visually impaired users)
ex:
I have a
zora.theme.jsonin my project root{ "version":1, "bgError":"bgRed" }Where the values can be anything in [colorette](htt