-
Updated
Dec 22, 2021 - JavaScript
unit-testing
Here are 3,958 public repositories matching this topic...
-
Updated
Oct 11, 2021 - JavaScript
Is your feature request related to a problem? Please describe.
If you want to use sinon
with mocha
, you shouldn't forget to restore
the sinon sandbox after each test. This is documented here in general setup.
Since version 7.2, mocha supports root hooks. It is a way to export mocha root hooks (beforeEach
, afterEach
etc) fr
-
Updated
Dec 29, 2021 - Python
-
Updated
Nov 7, 2021 - CMake
-
Updated
Dec 9, 2021 - Go
-
Updated
Dec 29, 2021 - Python
-
Updated
Dec 26, 2021 - PHP
-
Updated
Dec 28, 2021 - JavaScript
-
Updated
Dec 28, 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
Here test example:
public class UnitTest1
{
public static IEnumerable<object[]> ValuesWithDecimal()
{
yield return new object[] { (decimal)42 };
}
public static IEnumerable<object[]> ValuesWithoutDecimal()
{
yield return new object[] { (long)42 };
yield return new object[] { (ulong)42 };
yield return new object[] { (do
-
Updated
Oct 27, 2018 - Go
-
Updated
Dec 19, 2021 - JavaScript
-
Updated
Dec 28, 2021 - TypeScript
-
Updated
Dec 27, 2021 - JavaScript
Description
When trying to assert that an interface type has internal
access, the following assertion message is thrown:
Expected expression to be Internal, but it is InvalidForCSharp.
Complete minimal example reproducing the issue
Assuming the following definition exists in the scope of the test:
internal interface ITest {}
The following demonstrate
-
Updated
Dec 27, 2021 - Java
-
Updated
Dec 29, 2021 - Go
-
Updated
Dec 20, 2021 - Scala
-
Updated
Aug 9, 2021 - C#
-
Updated
Oct 5, 2021 - JavaScript
-
Updated
Dec 26, 2021 - TypeScript
-
Updated
Nov 17, 2021
-
Updated
Jun 11, 2021 - Swift
Rubberduck version information
The info below can be copy-paste-completed from the first lines of Rubberduck's log or the About box:
Rubberduck version [Version 2.5.2.6030
OS: Microsoft Windows NT 10.0.22000.0, x64
Host Product: Microsoft Office x64
Host Version: 16.0.14701.20226
Host Executable: WINWORD.EXE
Description
Language inspection for assignment of LCase suggests usi
If you want to contribute android projects to awesome-android-kotlin-apps, Pull Requests are welcomed!
If you are a beginner looking for your first contribution to Open Source, I will help you with Pull Request and contributing guide.
Feel free to send Pull Requests, fix typos, grammatical mistakes ...
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.
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