Skip to content
#

unit-testing

Here are 3,826 public repositories matching this topic...

SwifterSwift
TheStalwart
TheStalwart commented Mar 11, 2021

🚀
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

sinon
fatso83
fatso83 commented May 25, 2021

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

augustoproiete
augustoproiete commented Nov 21, 2020

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

matkoch
matkoch commented Sep 18, 2021

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

fluentassertions
dbreese
dbreese commented Jul 14, 2021

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.

androiddevnotes
androiddevnotes commented Jul 22, 2020

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. 🐣 contact: awesomedevnotes@gmail.com / twitter: https://twitter.com/androiddevnotes

Feel free to send Pull Requests, fix typos, grammatical mistakes ...

Improve this page

Add a description, image, and links to the unit-testing topic page so that developers can more easily learn about it.

Curate this topic

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."

Learn more