{"_id":"@abradley2/elm-coverage","_rev":"1-bf31499d7637ce54c46d51d6199408fc","name":"@abradley2/elm-coverage","dist-tags":{"latest":"0.3.0"},"versions":{"0.3.0":{"name":"@abradley2/elm-coverage","version":"0.3.0","license":"BSD-3-Clause","homepage":"https://github.com/abradley2/elm-coverage#readme","repository":{"type":"git","url":"git+https://github.com/abradley2/elm-coverage.git"},"main":"install.js","devDependencies":{"chai":"^4.2.0","chai-json-schema-ajv":"^2.0.1","chai-match-pattern":"^1.1.0","mocha":"^4.1.0","shelljs":"^0.7.8"},"dependencies":{"binwrap":"^0.2.2","bluebird":"^3.7.2","cross-spawn":"^5.1.0","elm":"^0.19.1-3","elm-test":"^0.19.1-revision2","find":"^0.2.9","fs-extra":"^4.0.3","lodash":"^4.17.15","moment":"^2.24.0","opn":"^5.5.0","request":"^2.88.0","table":"^5.4.6","tmp":"0.0.33","touch":"^3.1.0","upgrade":"^1.1.0","yargs":"^15.0.2"},"bin":{"elm-coverage":"bin/elm-coverage","elm-instrument":"bin/elm-instrument"},"scripts":{"make":"elm make --optimize src/Analyzer.elm --output lib/analyzer.js","prepublishOnly":"npm run make","test":"binwrap-test && npm run test:unit","test:unit":"mocha tests","install":"binwrap-install"},"gitHead":"b188eef950ca50f418b9f69fae7c37eccd855a1c","description":"[Fork of](https://github.com/marc136/elm-coverage/tree/add_support_for_current_elm-test) for `zwilias/elm-coverage` so I can use it with 0.19.1 via an npm install","bugs":{"url":"https://github.com/abradley2/elm-coverage/issues"},"_id":"@abradley2/elm-coverage@0.3.0","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-NbMkEnFlppTr8M2Ok9YQPHjQHnDIZt2m/RXbRbcDXmAgyqFOoxMPnG2HeJDL+of8pExgfRY59b9Nc9DszFJjRg==","shasum":"ef2445b3f2ec5c5a6ce36c4b3c475e98220453ca","tarball":"https://registry.npmjs.org/@abradley2/elm-coverage/-/elm-coverage-0.3.0.tgz","fileCount":16,"unpackedSize":171576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbvwyCRA9TVsSAnZWagAALhUP/1cZlK+YpEfcBNWcZcfE\nKn5HIjWAcnqAig8SBdrIobBki6nnvWXPW8kD0r+9qtSA9WZ05pYss42NxWkt\nIBNlC4To/AuUKk+Azg+DNgE3TpLuG+f+ytSbuZHftCjw27ba67nZR4ZTlsK4\nHnCfiobwhbeunJvATCrN3pbHpo0DL1MYgs5dF2clv7oDSP/saAoxJflJ5I21\nIZiMh06aYAvTHWNQSXxBmBB72R2KdVQ5AcpKPCEwPBHYJH/wzAW5u3a98x6J\nSisfcMtTXvKXVXyGmK0lyXojGW2f6mbhVNbTMTr072rj3IxZyH/hUhllR+9o\nikT5hGgPXMFhrDqAkVLFYCBQQbIWAHZUrOV3FwSEzVc9b5UwQZoNO5SIMW+I\n1a8EGW+5YLqJYYPNXcEzgAu4sp+RgViQ71ET7ny7wgVN8quEg/FNhAevPu33\n8kUmVVtvnsXYfmG3aNp65A2ix5VHJeFnYtnQZbparzh2PfXQe+ZUHACAFANo\nC8izR8thvYgYBjgpatZMralMaSo8tQYjjhxJz9U3Wm8U/RkBoIhc27F2gxeJ\nw5AcggYiknK9LghGZO1OMrmnnwYgxhRMZIzu+fJ5JupjdjN/E9Q5VNH28a/Q\nNqjM9o0T7WfzRSrI+umlJZTT1GiVflj64t5KDJOcPSXLlDfhO48gtijOm/zu\nTvRy\r\n=EVE4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNvwRtTtMSO9AbbpwbAKOskDX68Iie34kF4AEPjg+mXQIhAOT1LqhhdWp9zfoHoKAVCxi/1sAmcFHbb8xVvt0kyk6p"}]},"_npmUser":{"name":"abradley2","email":"antbradley91@gmail.com"},"directories":{},"maintainers":[{"name":"abradley2","email":"antbradley91@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-coverage_0.3.0_1617886258098_0.2528674212964641"},"_hasShrinkwrap":false}},"time":{"created":"2021-04-08T12:50:58.058Z","0.3.0":"2021-04-08T12:50:58.202Z","modified":"2022-04-04T11:01:37.285Z"},"maintainers":[{"name":"abradley2","email":"antbradley91@gmail.com"}],"description":"[Fork of](https://github.com/marc136/elm-coverage/tree/add_support_for_current_elm-test) for `zwilias/elm-coverage` so I can use it with 0.19.1 via an npm install","homepage":"https://github.com/abradley2/elm-coverage#readme","repository":{"type":"git","url":"git+https://github.com/abradley2/elm-coverage.git"},"bugs":{"url":"https://github.com/abradley2/elm-coverage/issues"},"license":"BSD-3-Clause","readme":"[Fork of](https://github.com/marc136/elm-coverage/tree/add_support_for_current_elm-test) for `zwilias/elm-coverage` so I can use it with 0.19.1 via an npm install\n\n# Elm Coverage [![Build Status](https://travis-ci.org/zwilias/elm-coverage.svg?branch=master)](https://travis-ci.org/zwilias/elm-coverage) [![Build status](https://ci.appveyor.com/api/projects/status/xsarefeowsmffnny?svg=true)](https://ci.appveyor.com/project/zwilias/elm-coverage) [![Documentation Status](https://readthedocs.org/projects/elm-coverage/badge/?version=latest)](http://elm-coverage.readthedocs.io/en/latest/?badge=latest)\n> Work in progress - Code coverage tooling for Elm\n\n`elm-coverage` is a tool for calculating code coverage for Elm code tested with\n`elm-test`.\n\nThe goal of the reports generated by `elm-coverage` is to help you visualize\nwhat parts of your code are being evaluated when running your tests, and to try\nand guide you towards writing tests that focus specifically on the more complex\nfunctions in your codebase.\n\nThe goal is **not** to condense that information down into a single metric. It\nis too easy to write tests that don't make meaningful assertions about your code\nand its behaviour, but only serve to increase the coverage.\n\nThe only thing worse than having no tests is having tests that provide a false\nsense of security.\n\nFor further reading, please direct yourself to https://elm-coverage.readthedocs.io\n\nInstallation\n------------\n\nInstalling `elm-coverage` works much the same way as installing other tools in\nthe Elm ecosystem:\n\n    npm i -g elm-coverage\n\nUsage\n-----\n\nThe simplest invocation of `elm-coverage` is to simply invoke `elm-coverage` in\nthe root of your project:\n\n    elm-coverage\n\nBy default, `elm-coverage` assumes that your sources exist in a separate `src/`\ndirectory, that you have `elm-test` installed globally, and that `elm-test`\nneeds no further, special flags.\n\nYou can specify an alternative path to crawl for sources to instrument:\n\n    elm-coverage elm_src/\n\nIf you don't want to use a globally installed `elm-test`, you can specify the\npath to an `elm-test` executable:\n\n    elm-coverage --elm-test ./node_modules/.bin/elm-test\n\nParameters following `--` are passed through to `elm-test`, for example to\nspecify the initial `seed` and number of `fuzz` testruns:\n\n    elm-coverage -- --seed 12345 --fuzz 99\n\n`elm-coverage` will write an HTML report to `.coverage/coverage.html`. It is not\nrecommended to version control this directory. In order to open the report once\nit is generated, you can specify the `--open` option:\n\n    elm-coverage --open\n\nContribute\n----------\n\nIssues and source code is available [on\ngithub](https://github.com/zwilias/elm-coverage>). The source for\n`elm-instrument` which is used to actually instrument the sources in order to\ncalculate coverage is also\n[available](https://github.com/zwilias/elm-instrument).\n\nLicense\n-------\n\n`elm-coverage` is licensed under the BSD-3 license. `elm-instrument` is\nlicensed under the BSD-3 license.\n","readmeFilename":"README.md"}