Skip to content
#

tests

Here are 833 public repositories matching this topic...

cypress
tzolnai
tzolnai commented Mar 31, 2020

Current behavior:

We use --env variable to pass some environment variables to cypress, when it's running both in headless and headed mode.

One of the parameters is a hash (mix of numbers and characters). Surprisingly some specific hash values make cypress to fail reading this value from the command line (e.g. 769e98018). The corresponding environment variable is not set and the `Cyp

kylef
kylef commented Dec 11, 2019

This is more of a development problem and does not affect users as it is with dev dependencies. When cloning the repository and running yarn, yarn warns about incorrect peer dependencies:

$ git clone https://github.com/apiaryio/dredd.git dredd-clean
Cloning into 'dredd-clean'...
remote: Enumerating objects: 54, done.
remote: Counting objects: 100% (54/54), done.
remote: Compressin
KantarBruceAdams
KantarBruceAdams commented Jul 10, 2019

Is your feature request related to a problem? Please describe.

I'm trying to get two containers to communicate with each other.
I can start up each container and connect to it from the command line using localhost and the bound IP but I'm not clear how to get two containers to talk to each other.
I think this would be the equivalent of "docker network connect" https://stackoverflow.com/qu

mcmilleon-will
mcmilleon-will commented May 7, 2018

In our tests we often validate default data and prop values for the component under test using something like this:

componentUnderTest.data().should.deep.equal({
 // all expected data values go here
});

componentUnderTest.propsData().should.deep.equal({
 // all expected props values go here
});

We're using v4.2.0 and this works nicely for calls to data(), and it do

mbrukman
mbrukman commented Feb 18, 2019

Right now, [README.md][readme] includes copy-pasted code from sample code in [src/example/][src/example] tree, but they're not kept in-sync automatically.

Ideally, we would have a process for automatically including code samples, e.g., via some preprocessing since it's probably not possible to do it dynamically, so that we can avoid having to see them diverge, e.g., as can be seen in issue

pashute
pashute commented Jun 20, 2018

The docs are currently written for someone familiar with jest mocha and Enzyme.

  1. Perhaps add at the beginning:

Specs is an addon to Storybook.
Storybook allows the developer during development to visually see a component or part of it, and interactively see immediate changes to the code. It also helps document the project with visual examples.
Specs adds the ability to

francesco-albanese
francesco-albanese commented Mar 2, 2020

Here the config I am using for jest in jest.config.js:

module.exports = {
  transform: {
    '^.+\\.jsx?$': 'babel-jest',
    '^.+\\.ts?$': 'ts-jest'
  },
  rootDir: './lib',
  roots: ['<rootDir>'],
  moduleFileExtensions: ['ts', 'js', 'json', 'node'],
  preset: "@shelf/jest-mongodb"
};

Jest fails to run tests just saying "Determining test suites to run..."

Works if

anapaulagomes
anapaulagomes commented Mar 21, 2020

To reproduce it, run pytest in this repo:

tests/test_pytest_picked.py: 13 tests with warnings
  /home/ana/workspace/pytest-picked/venv/lib/python3.8/site-packages/pytest-5.4.1-py3.8.egg/_pytest/terminal.py:287: PytestDeprecationWarning: TerminalReporter.writer attribute is deprecated, use TerminalReporter._tw instead at your own risk.
  See https://docs.pytest.org/en/latest/deprecation
mity
mity commented Jan 11, 2020

Make the output, especially as generated by the macros TEST_CHECK(), TEST_MSG() and TEST_DUMP(), automatically adapt to the current terminal size, so that it looks good in a reasonably small terminal window but can use effectively more space if the terminal window is big.

This should involve:

  1. Explore what API is available for the purpose on the platform of your choice.
  2. A pre-pro
92alanc
92alanc commented Aug 29, 2018

Our README rocks! It's very complete and clear in every sense, but I think it's a bit too complete.

At least in my opinion a README file should only summarise what the project is about, how to install it, give like 1 or 2 examples, who are the project administrators and how to contribute.

Since this file already has examples for each of the methods we've created so far (or most of them maybe

Improve this page

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

Learn more

You can’t perform that action at this time.