Skip to content
#

unit-testing

Here are 2,816 public repositories matching this topic...

SwifterSwift
sinon
itmayziii
itmayziii commented Jul 27, 2019

Is your feature request related to a problem? Please describe.
Reading through what a fake can and can not do is not clear from the documentation.

Describe the solution you'd like
Exact methods that are available to a Fake need to be documented.

First of all thank you for Sinon, I believe the library is powerful and has helped me write a lot of tests. What I'm requesting here is

dcs3spp
dcs3spp commented Aug 20, 2020

Hi,

Searched the docs for how to capture output to console.
I am using VSCode and unfortunately currently unable to use the Debug Test link above test method, receiving an ArgumentException related to OmniSharp. So....I am using dotnet test

When I use ITestOutputHelper to capture output for test debugging purposes I then run tests using dotnet test. No output is displayed

fast-check
dubzzz
dubzzz commented Aug 27, 2020

💡 Idea

Today, we do not have a type for WebUrlContraints. Intead of hardcoding the typings in the function webUrl itself:

{ authoritySettings?: WebAuthorityConstraints; validSchemes?: string[]; withFragments?: undefined | false | true; withQueryParameters?: undefined | false | true }

We should extract it into a clear type called WebUrlContraints (see `WebAuthorityConstr

AnthonyMillerSF
AnthonyMillerSF commented Apr 16, 2020

I have a library that I generate all of my mocks into that is imported in my unit tests. When mocking a protocol, the generated mock object doesn't have an initializer declared. This means is uses the default initializer, which would be fine, except the default init() method is internal. I can get around this by importing my mock library @testable, but I'd suggest that protocol mocks for publi

mccordscvs
mccordscvs commented Aug 11, 2020

Rubberduck version information

Version 2.5.0.5524
OS: Microsoft Windows NT 10.0.18362.0, x64
Host Product: Microsoft Office 2016 x64
Host Version: 16.0.5026.1000
Host Executable: EXCEL.EXE

Description
When pressing the tab key after preforming a search in Add/Remove references a "Null Reference" error occurs. Pressing tab in other locations will also cause this error. Also, when

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

You can’t perform that action at this time.