The Wayback Machine - https://web.archive.org/web/20200716222850/https://github.com/topics/tdd
Skip to content
#

tdd

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

boneskull
boneskull commented Apr 14, 2020

I'm getting bit with failing documentation builds because I'm writing docstrings that JSDoc doesn't like (specifically, TS-style). But there's no linting happening before getting to Netlify.

We may be able to make JSDoc just check the syntax and exit (and make it part of the lint scripts).

This is moot if we want to move forward with maintaining our own TS types (for which there is an op

ava
philsquared
philsquared commented Mar 24, 2020

Describe the bug
When TEMPLATE_LIST_TEST_CASE and TEMPLATE_LIST_TEST_CASE_METHOD were added, the corresponding versions with the CATCH_ prefix were missed.

Expected behavior
CATCH_TEMPLATE_LIST_TEST_CASE and CATCH_TEMPLATE_LIST_TEST_CASE_METHOD should be available.

Additional context

The commit that added TEMPLATE_LIST_TEST_CASE and `TEMPLATE_LIST_TEST_CASE_MET

mwmichael
mwmichael commented Mar 29, 2020

This is a great book and I've enjoyed following it through almost to the end.

However, if I type / copy the code in the first code block at https://quii.gitbook.io/learn-go-with-tests/go-fundamentals/math#write-the-test-first then run the test, it will give me a

Success: all tests pass.

It looks like the package that is being included already has the correct code. The guide should sure

sinon
rensbaardman
rensbaardman commented Sep 19, 2019

Describe the bug
When the (string) representations of the expected outcome and the actual outcome of e.g. assert.calledWith() are equal, the resulting error message is very confusing and hinting at a bug in the display logic. Instead of <red>actual</red> <green>expected</green> (with <color>...</color> my attempt at showing the expected terminal output color), it displays `actual

chai
IanKemp
IanKemp commented Jan 16, 2020

The documentation for .above states:

The aliases .gt and .greaterThan can be used interchangeably with .above.

However, for .least:

The alias .gte can be used interchangeably with .least.

To my mind, there should be a .greaterThanOrEqual alias for .least in addition to

eyalroz
eyalroz commented Mar 2, 2020

I couldn't find this in the documentation or the FAQ: Is it possible to obtain the current test case's name from within that testcase's code? I mean, it should be, but how do we do it? That should be either in the FAQ or in some other relevant documentation file, IMHO.

nohwnd
nohwnd commented Jul 2, 2019

It would be nice to start building Pester on PowerShell 7 as well to see if it is compatible and keep it that way. To achieve that we need to research on which build servers v7 is already available. Right now we are building on TravisCI (Linux and MacOS), on AppVeyor (PowerShell 4+) and AzureDevOps (PowerShell 2&3).

Not sure if the build task needs to run on all three platforms, but it would be

clean-architecture-manga
Augure34
Augure34 commented Oct 3, 2019

When running build.ps1 -t Test, the following output describes the failing tests:

  1. Failed : NUnit.Framework.Api.FrameworkControllerTests.ExploreTestsAction_FileNotFound_ReturnsNonRunnableSuite
    Expected: String containing "The system cannot find the file specified."
    But was: "Le fichier sp├®cifi├® est introuvable. (Exception from HRESULT: 0x80070002)"
    at NUnit.Framework.Api.Framew
fluentassertions
ackginger
ackginger commented Sep 13, 2019

Description

When comparing two identical dictionaries which use an object as the key, .Should().BeEquivalentTo() fails.

If I override .Equals() then it succeeds, which feels like it goes against the principle of equivalence expectations.

Whilst this may be my misunderstanding of the expectation, the docs don't seem to call this limitation out, so perhaps worth documenting if deemed

chinleung
chinleung commented Mar 9, 2020

Hi,

When I run my tests using the neovim strategy, it opens a new terminal but auto focus on the buffer. Then I have to press <C-o> to not close the buffer and go back to my split pane.

Is there a way to have it open but not switch my focus to the newly opened pane automatically?

fast-check
DanielaValero
DanielaValero commented Mar 17, 2020

Describe the feature you'd like:

Jest-Extended has an assertion named the same as jest-extended's one:

-> https://github.com/jest-community/jest-extended#tobeempty
-> https://github.com/testing-library/jest-dom#tobeempty

When both libs are used in the same project, in my case the version of jest-extended overwrites the one from jest-dom. But this might vary depending on the order use

Improve this page

Add a description, image, and links to the tdd 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 tdd topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.