Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Runs elm-test suites from Node.js
npm install -g elm-test
elm-test install foo/bar # Install the foo/bar package to "test-dependencies"
elm-test init # `elm-test install elm-explorations/test` and create tests/Example.elm
elm-test # Run all exposed Test values in *.elm files in tests/
elm-test Foo.elm # Run all exposed Test values in Foo.elm
install
Like elm install
, except it installs to the test-dependencies
field of your project's elm.json
file instead of dependencies
.
elm-test install elm/regex
init
Runs elm-test install elm-explorations/test
and then creates a tests/Example.elm
example test to get you started.
Afterwards, you can run elm-test
with no arguments to try out the example.
--compiler
The --compiler
flag can be used to use a version of the Elm compiler that
has not been installed globally.
npm install elm
elm-test --compiler ./node_modules/.bin/elm
--seed
Allow running the tests with a predefined seed, rather than a randomly generated seed. This is especially helpful when trying to reproduce a failing fuzz-test.
elm-test --seed=12345
--fuzz
Define how many times a fuzzer should run. Defaults to 100
elm-test --fuzz=500
--report
Specify which reporter to use for reporting your test results. Valid options are:
console
(default): pretty, human readable formatted outputjson
: every event will be written to stdout as a json-encoded objectjunit
: junit-compatible xml will be written to stdoutelm-test --report=json
--version
Displays the version of the current elm-test.
$ elm-test --version
0.19.1
--watch
Starts the runner in watch mode. Upon changing any currently watched source files (either in your your source-directories or in your tests' source-directories), your tests will get rerun.
elm-test --watch
--help
Displays all the available options and commands.
If you want to run your tests on Travis CI, here's a good starter .travis.yml
:
language: elm
elm:
- 0.19.1
FAQs
Run elm-test suites.
The npm package elm-test receives a total of 15,347 weekly downloads. As such, elm-test popularity was classified as popular.
We found that elm-test demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.