-
Updated
Oct 17, 2021 - JavaScript
unit-testing
Here are 3,769 public repositories matching this topic...
-
Updated
Oct 11, 2021 - JavaScript
Is your feature request related to a problem? Please describe.
Today we silently ignore stubbing issues, such as trying to use sinon.stub(obj, 'prop')
, when obj.prop
is a synthetic getter. From a user perspective, it is probably more user friendly to be explicitly told immediately that this Object.descriptor is non-configurable (perhaps even with a link to a Sinon doc page!) and cannot be
-
Updated
Oct 18, 2021 - Python
-
Updated
Oct 18, 2021 - Go
-
Updated
Sep 20, 2021 - CMake
-
Updated
Oct 11, 2021 - Python
-
Updated
Oct 18, 2021 - PHP
-
Updated
Sep 1, 2021 - JavaScript
-
Updated
Oct 8, 2021 - C++
Currently when calling the MSBuild
alias with an MSBuildSettings
, we need to set the target using the WithTarget
extension method.
MSBuild("./my-app.sln", new MSBuildSettings
{
Configuration = "Release",
ToolVersion = MSBuildToolVersion.VS2019,
}.WithTarget("Build")); // <<<###
It would be nice if we could use a property, with a string, which would make it more na
Several people reported in my project that their "test collection" messages are shown outside the intended block. I can confirm but it never got too important to me. However, with a large amount of tests, I guess it can be bothering to scroll between build summary and individual targets:
<img width="786" alt="image" src="https://user-images.githubuserconten
-
Updated
Sep 30, 2021 - JavaScript
-
Updated
Oct 27, 2018 - Go
-
Updated
Oct 18, 2021 - TypeScript
Before you file a bug, have you:
- Tried upgrading to newest version of Fluent Assertions, to see if your issue has already been resolved and released?
- Checked existing open and closed issues, to see if the issue has already been reported?
- Tried reproducing your problem in a new isolated proje
-
Updated
Oct 5, 2021 - JavaScript
-
Updated
Oct 18, 2021 - Java
-
Updated
Oct 18, 2021 - Go
-
Updated
Aug 9, 2021 - C#
-
Updated
Sep 30, 2021 - Scala
-
Updated
Oct 5, 2021 - JavaScript
-
Updated
Jun 11, 2021 - Swift
-
Updated
Oct 14, 2021
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
Take this class, for example:
`
import Foundation
// some comment has import SOMEBADTHING
public protocol TestProtocol: AnyObject {
func doSomething() -> Void
}
`
The generated mock ends up having:
... import SOMEBADTHING ...
Looks like it is looking for "{import .*}" in source files and just adding that verbatim to the output file, causing compile issues.
-
Updated
Oct 17, 2021 - PHP
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