Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
fluid-couchdb-test-harness
Advanced tools
Readme
This package is intended to test integration with CouchDB. Although it can in theory be used on its own, the harness provided by this package is designed to interact with and tested exclusively with the Fluid IoC Test Framework and the test fixtures provided by this package.
The harness provided by this package can be run in one of three modes:
By default, the harness attempts to launch a Docker container with an instance of CouchDB. At time of writing, this is conservatively pinned to CouchDB 2.3.1 (see below for details about CouchDB 3.0).
If you are in an environment (such as Windows 7) where running Docker is not possible, you can set the
FLUID_TEST_COUCH_USE_VAGRANT
environment variable to use Vagrant instead. See below
for details. This will use the same version of CouchDB as the Docker route.
If you would like to use your own standalone instance of CouchDB, configure it to listen to the same port used by the
tests in this package (25984) and set the FLUID_TEST_COUCH_USE_EXTERNAL
environment variable. This mode is used by
our CI setup, and the tests are run against the latest version of the CouchDB docker container (3.x at time of writing).
Please note, when using an "external" instance, you must ensure that an administrative user named admin
exists, whose
password is set to admin
. In CouchDB 2.x, the default was to use the "admin party", where no username/password is
required to access administrative functions. In CouchDB 3.0 and higher, "admin party" has been removed and you must
have an administrative username and password set. Thankfully, the process of configuring these at least for docker
containers is the same for both CouchDB 2.x and 3.x, i.e. you set two environment variables when creating the container.
You can see examples of these environment variables in the GitHub Actions workflow found in this package's .github
folder.
To run the tests for this package on a local machine, you must have either Docker, Vagrant, or a local instance of CouchDB installed (see above).
To run tests using docker, use the command npm test
. The required Docker containers will be automatically started if
they are not already running. To run the tests using Docker or Vagrant, set the relevant environment variable
(see above).
FAQs
A library to assist in testing CouchDB integration within the Fluid ecosystem.
The npm package fluid-couchdb-test-harness receives a total of 5 weekly downloads. As such, fluid-couchdb-test-harness popularity was classified as not popular.
We found that fluid-couchdb-test-harness demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.