Skip to content
#

Testing

Testing is the practice of systematically testing software to make sure it works. Testing can be iterative, and happen multiple times.

Eliminate bugs and ship with more confidence by adding these tools to your workflow.

Here are 8,922 public repositories matching this topic...

techsin
techsin commented Apr 22, 2019

Tell us about your environment:

  • Puppeteer version: 1.14
  • Platform / OS version: Windows
  • Node.js version: 10

What steps will reproduce the problem?
try to pass a promise to await page.waitForResponse(response => condition) instead of urlOrPredicate.

What is the expected result?
expect async function to work

What happens instead?
no waiting as promise

storybook
levelingup
levelingup commented Dec 24, 2019

I tried to follow the initial steps from here: https://www.learnstorybook.com/intro-to-storybook/react/en/get-started/

running:

npx create-react-app taskbox
cd taskbox

Then when I ran:
npx -p @storybook/cli sb init

I get the error TypeError: Cannot set property 'storybook' of undefined

This is the full message in my terminal:

 sb init - the simplest way to add a
goldbergyoni
goldbergyoni commented Jan 26, 2020

Given the immense popularity of Docker and the need to harden it different per platform (see ideas below) - we'd like to start writing a Docker best practices section.

You're welcome to contribute ideas and write best practices - writing and brainstorming will people is an amazing way to deepen your Docker understanding.

At first, we want to collect ideas for best practices, solidify a list

thernstig
thernstig commented Apr 3, 2020

Note: This is fundamentally working as intended, this issue is now about validating the config and providing a sufficient warning.

🐛 Bug Report

The configuration testSequencer (https://jestjs.io/docs/en/configuration#testsequencer-string) is silently ignored in projects (https://jestjs.io/docs/en/configuration#projects-arraystring--projectconfig)

To Reproduce

Run this config

cypress
xxinyiwho
xxinyiwho commented Mar 2, 2020

Message: The pluginsFile must export a function.

We loaded the pluginsFile from: /Users/xinyi/Documents/X/Xinyi/event-calendar-app/cypress/plugins/index.js

It exported:

Details: {}

Stack trace:

[object Object]
    at Object.get (/Users/xinyi/Library/Caches/Cypress/4.1.0/Cypress.app/Contents/Resources/app/packages/server/lib/errors.js:344:11)
    at EventEmitte
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
XSAM
XSAM commented Dec 26, 2019

The go build command in the Compilation Wiki will throw complaints.

#Compile from source
cd $HOME/gocode/src/github.com/buger/gor
go build LDFLAGS = -ldflags "-extldflags "-static""

$ go build LDFLAGS = -ldflags "-extldflags \"-static\""
can't load package: package LDFLAGS: malformed module path "LDFLAGS": missing dot 
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

maald
maald commented Apr 24, 2020

As a new end user, I cannot find a single user guide or decent documentation. The javadoc reads like it's written as a quick review for someone who already knows the ins/outs of Mockito and just need some sample code. I don't even know what or how Mockito works and the first couple of lines are talking about "mockito inline".

Most open source projects have really great user guides and document

Zylatis
Zylatis commented Jun 20, 2019
  • Faker version: 1.0.7
  • OS: Ubuntu 16.04

I was wondering if it is possible to generate a list of 'n' unique company names? I saw some PR's which gave a unique keyword for 'words' but doesn't seem to extend to other providers? I understand i could just keep regenerating and dropping duplicates until I got a unique set of length n, but would be nice to just have a keyword for that (plus this m

rajsite
rajsite commented Feb 11, 2020

I'm upgrading a build environment from python 2 to python 3 and noticed that endpoints with seeded random numbers are not returning the same values. It seems to be related to usage of randint:
https://github.com/postmanlabs/httpbin/blob/f8ec666b4d1b654e4ff6aedd356f510dcac09f83/httpbin/core.py#L1448

It seems like randint is not seed safe and it looks like only random() is: https://bugs.python.o

jamiebuilds
jamiebuilds commented Dec 19, 2019

I thought I'd give some feedback on how the https://reactcosmos.org could be better, I'm happy to help with some of these items, but better to write them down and discuss them first.

  • The website works really well as a marketing site right now, but it doesn't really capitalize on that by calling users to action. It should tell them to "Get Started" or "Install" with either a big button to
szegel
szegel commented Mar 26, 2020

According to your documentation (https://docs.pytest.org/en/latest/xunit_setup.html), I can name a method teardown() in a test class, and it should not get run by pytest. I am using version pytest-3.8.2.

Pytest calls a method called teardown on class destruction even though it is specified as teardown_class in your documentation. I am guessing this accidentally did not get removed, when the na

lucielavickova
lucielavickova commented Jul 12, 2019

Would it be possible to add "trim" parameter to keyword "Should Be Equal As Strings" (+related keywords)?
Many times I need to compare two strings, but there are some trailing or leading whitespaces in the actual value, which I don't care about, so I always have to trim them before. Having trim as a parameter in these keywords would help me a lot :)

Wikipedia
Wikipedia

Testing apps

BuildPulse

Automatically track flaky builds. Measure improvement over time. Install in less than a minute. Works with your current CI

You can’t perform that action at this time.