-
Updated
Jul 19, 2021 - JavaScript
unit-testing
Here are 3,516 public repositories matching this topic...
-
Updated
Jun 29, 2021 - JavaScript
The 'extend' function from 'util/core' is not handling property descriptors using accessors properly.
The issue was introduced by the following commit: sinonjs/sinon@f981192
The below test can be used to duplicate the issue. The object 'obj' has a 'pub' property that is defined using a getter and a setter. Once 'extend' is called, th
-
Updated
Jul 20, 2021 - Python
-
Updated
Jul 15, 2021 - Go
-
Updated
Jun 30, 2021 - CMake
-
Updated
Jul 12, 2021 - Python
-
Updated
Jul 17, 2021 - PHP
-
Updated
Jul 19, 2021 - JavaScript
-
Updated
Jul 8, 2021 - C++
The MSBuildSettings
extension UseToolVersion
expects a valid value from the MSBuildToolVersion enumeration.
public static MSBuildSettings UseToolVersion(this MSBuildSettings settings, MSBuil
Xunit.Sdk.TraitHelper.GetTraits
creates a new instance of Xunit.Sdk.NullMessageSink
, a type that does not override Equals. That instance is later used as a part of the key for caching instance inside Xunit.Sdk.ExtensibilityPointFactory
, resulting in caching not working for such calls at all.
-
Updated
Jun 29, 2021 - JavaScript
-
Updated
Oct 27, 2018 - Go
-
Updated
Jul 19, 2021 - Java
Description
Is there any difference between ContainItemsAssignableTo
and AllBeAssignableTo
?
Spending five minutes looking at them, they seem to test the same scenario.
(With the exception, that AllBeAssignableTo
has special handling for IEnumerable<Type>
)
In contrast to other Contain
methods, ContainItemsAssignableTo
expects all elements to satisfy and not just a subset
-
Updated
Jul 20, 2021 - TypeScript
-
Updated
Jul 18, 2021 - JavaScript
-
Updated
Jul 12, 2021 - Go
-
Updated
Jul 16, 2021 - C#
-
Updated
Jul 20, 2021 - Scala
-
Updated
Jul 19, 2021 - JavaScript
-
Updated
Jun 11, 2021 - Swift
-
Updated
Jul 23, 2020
Hi,
The current version of OCMock used by Cuckoo/OCMock is very old (version 3.4.3), and has issues on Apple Silicon and Xcode 11 (among other things).
It would be great if Cuckoo's version of OCMock could be upgraded to >= 3.8.1 which works on Apple Silicon (release notes: https://ocmock.org/download/).
//Erik
-
Updated
Jan 14, 2021 - PHP
At the moment we can access all suite methods via suite.get(). Alternatively, it would be very simple to add all the suite methods directly on top of suite:
Functions should be added here: https://github.com/ealush/vest/blob/latest/packages/vest/src/core/suite/createSuite.js#L60
They can all rely internally on suite.get()
.
Types should be added here: https://github.com/ealush/vest/blob/la
Justification
It's much more common to see the code below:
Public Sub Foo()
Dim i, j, k As Long
'code
End Sub
than it is to see:
Public Sub Foo()
Dim i As Long, j As Long, k As Long
'code
End Sub
This is a very common pitfall. Example code in a MultipleDeclarations inspect
Improve this page
Add a description, image, and links to the unit-testing topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the unit-testing topic, visit your repo's landing page and select "manage topics."
Is your feature request related to a problem? Please describe.
Doc string states:
Date().weekday -> 5 // fifth day in the current week.
Guess what, 5 is not friday. It's thursday. It makes some sense after i dug deeper, but as a programmer, i assumed monday could be 0 or 1, therefore thursday should be 3 or 4. Monday is 2! Because sunday is 1!
**Describe the solution you'd li