コミットメタ情報

リビジョンf54b4b483500b565960ac55604c1b917818be7d6 (tree)
日時2019-08-26 07:22:27
作者H. Turgut Uyar <uyar@teki...>
コミッターH. Turgut Uyar

ログメッセージ

Add test coverage

変更サマリ

差分

diff -r f337d14fafce -r f54b4b483500 .hgignore
--- a/.hgignore Mon Aug 26 01:18:31 2019 +0300
+++ b/.hgignore Mon Aug 26 01:22:27 2019 +0300
@@ -8,3 +8,4 @@
88
99 .venv
1010 .pytest_cache
11+.coverage
diff -r f337d14fafce -r f54b4b483500 poetry.lock
--- a/poetry.lock Mon Aug 26 01:18:31 2019 +0300
+++ b/poetry.lock Mon Aug 26 01:22:27 2019 +0300
@@ -30,6 +30,14 @@
3030
3131 [[package]]
3232 category = "dev"
33+description = "Code coverage measurement for Python"
34+name = "coverage"
35+optional = false
36+python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, <4"
37+version = "4.5.4"
38+
39+[[package]]
40+category = "dev"
3341 description = "Discover and load entry points from installed packages."
3442 name = "entrypoints"
3543 optional = false
@@ -232,6 +240,21 @@
232240
233241 [[package]]
234242 category = "dev"
243+description = "Pytest plugin for measuring coverage."
244+name = "pytest-cov"
245+optional = false
246+python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
247+version = "2.7.1"
248+
249+[package.dependencies]
250+coverage = ">=4.4"
251+pytest = ">=3.6"
252+
253+[package.extras]
254+testing = ["fields", "hunter", "process-tests (2.0.2)", "six", "virtualenv"]
255+
256+[[package]]
257+category = "dev"
235258 description = "Python 2 and 3 compatibility utilities"
236259 name = "six"
237260 optional = false
@@ -283,13 +306,14 @@
283306 testing = ["pathlib2", "contextlib2", "unittest2"]
284307
285308 [metadata]
286-content-hash = "977366e78871c45440a0f77714bb0d8d76a33b0f55ab9ed3bbd273beddd558f7"
309+content-hash = "711075a66655c2a2fe554c8d083de3125ec1c3edf14c584dd56d2efd6c6f3a5c"
287310 python-versions = "^3.6"
288311
289312 [metadata.hashes]
290313 atomicwrites = ["03472c30eb2c5d1ba9227e4c2ca66ab8287fbfbbda3888aa93dc2e28fc6811b4", "75a9445bac02d8d058d5e1fe689654ba5a6556a1dfd8ce6ec55a0ed79866cfa6"]
291314 attrs = ["69c0dbf2ed392de1cb5ec704444b08a5ef81680a61cb899dc08127123af36a79", "f0b870f674851ecbfbbbd364d6b5cbdff9dcedbc7f3f5e18a6891057f21fe399"]
292315 colorama = ["05eed71e2e327246ad6b38c540c4a3117230b19679b875190486ddd2d721422d", "f8ac84de7840f5b9c4e3347b3c1eaa50f7e49c2b07596221daec5edaabbd7c48"]
316+coverage = ["08907593569fe59baca0bf152c43f3863201efb6113ecb38ce7e97ce339805a6", "0be0f1ed45fc0c185cfd4ecc19a1d6532d72f86a2bac9de7e24541febad72650", "141f08ed3c4b1847015e2cd62ec06d35e67a3ac185c26f7635f4406b90afa9c5", "19e4df788a0581238e9390c85a7a09af39c7b539b29f25c89209e6c3e371270d", "23cc09ed395b03424d1ae30dcc292615c1372bfba7141eb85e11e50efaa6b351", "245388cda02af78276b479f299bbf3783ef0a6a6273037d7c60dc73b8d8d7755", "331cb5115673a20fb131dadd22f5bcaf7677ef758741312bee4937d71a14b2ef", "386e2e4090f0bc5df274e720105c342263423e77ee8826002dcffe0c9533dbca", "3a794ce50daee01c74a494919d5ebdc23d58873747fa0e288318728533a3e1ca", "60851187677b24c6085248f0a0b9b98d49cba7ecc7ec60ba6b9d2e5574ac1ee9", "63a9a5fc43b58735f65ed63d2cf43508f462dc49857da70b8980ad78d41d52fc", "6b62544bb68106e3f00b21c8930e83e584fdca005d4fffd29bb39fb3ffa03cb5", "6ba744056423ef8d450cf627289166da65903885272055fb4b5e113137cfa14f", "7494b0b0274c5072bddbfd5b4a6c6f18fbbe1ab1d22a41e99cd2d00c8f96ecfe", "826f32b9547c8091679ff292a82aca9c7b9650f9fda3e2ca6bf2ac905b7ce888", "93715dffbcd0678057f947f496484e906bf9509f5c1c38fc9ba3922893cda5f5", "9a334d6c83dfeadae576b4d633a71620d40d1c379129d587faa42ee3e2a85cce", "af7ed8a8aa6957aac47b4268631fa1df984643f07ef00acd374e456364b373f5", "bf0a7aed7f5521c7ca67febd57db473af4762b9622254291fbcbb8cd0ba5e33e", "bf1ef9eb901113a9805287e090452c05547578eaab1b62e4ad456fcc049a9b7e", "c0afd27bc0e307a1ffc04ca5ec010a290e49e3afbe841c5cafc5c5a80ecd81c9", "dd579709a87092c6dbee09d1b7cfa81831040705ffa12a1b248935274aee0437", "df6712284b2e44a065097846488f66840445eb987eb81b3cc6e4149e7b6982e1", "e07d9f1a23e9e93ab5c62902833bf3e4b1f65502927379148b6622686223125c", "e2ede7c1d45e65e209d6093b762e98e8318ddeff95317d07a27a2140b80cfd24", "e4ef9c164eb55123c62411f5936b5c2e521b12356037b6e1c2617cef45523d47", "eca2b7343524e7ba246cab8ff00cab47a2d6d54ada3b02772e908a45675722e2", "eee64c616adeff7db37cc37da4180a3a5b6177f5c46b187894e633f088fb5b28", "ef824cad1f980d27f26166f86856efe11eff9912c4fed97d3804820d43fa550c", "efc89291bd5a08855829a3c522df16d856455297cf35ae827a37edac45f466a7", "fa964bae817babece5aa2e8c1af841bebb6d0b9add8e637548809d040443fee0", "ff37757e068ae606659c28c3bd0d923f9d29a85de79bf25b2b34b148473b5025"]
293317 entrypoints = ["589f874b313739ad35be6e0cd7efde2a4e9b6fea91edcc34e58ecbb8dbe56d19", "c70dd71abe5a8c85e55e12c19bd91ccfeec11a6e99044204511f9ed547d48451"]
294318 flake8 = ["19241c1cbc971b9962473e4438a2ca19749a7dd002dd1a946eaba171b4114548", "8e9dfa3cecb2400b3738a42c54c3043e821682b9c840b0448c0503f781130696"]
295319 flake8-docstrings = ["3ad372b641f4c8e70c7465f067aed4ff8bf1e9347fce14f9eb71ed816db36257", "d8d72ccd5807c1ab9ff1466cb9bece0c4d94b8669e9bc4f472abc80dbc5d399e"]
@@ -307,6 +331,7 @@
307331 pyflakes = ["17dbeb2e3f4d772725c777fabc446d5634d1038f234e77343108ce445ea69ce0", "d976835886f8c5b31d47970ed689944a0262b5f3afa00a5a7b4dc81e5449f8a2"]
308332 pyparsing = ["6f98a7b9397e206d78cc01df10131398f1c8b8510a2f4d97d9abd82e1aacdd80", "d9338df12903bbf5d65a0e4e87c2161968b10d2e489652bb47001d82a9b028b4"]
309333 pytest = ["95b1f6db806e5b1b5b443efeb58984c24945508f93a866c1719e1a507a957d7c", "c3d5020755f70c82eceda3feaf556af9a341334414a8eca521a18f463bcead88"]
334+pytest-cov = ["2b097cde81a302e1047331b48cadacf23577e431b61e9c6f49a1170bbe3d3da6", "e00ea4fdde970725482f1f35630d12f074e121a23801aabf2ae154ec6bdd343a"]
310335 six = ["3350809f0555b11f552448330d0b52d5f24c91a322ea4a15ef22629740f3761c", "d16a0141ec1a18405cd4ce8b4613101da75da0e9a7aec5bdd4fa804d0e0eba73"]
311336 snowballstemmer = ["9f3b9ffe0809d174f7047e121431acf99c89a7040f0ca84f94ba53a498e6d0c9"]
312337 testfixtures = ["665a298976c8d77f311b65c46f16b7cda7229a47dff5ad7c822e5b3371a439e2", "9d230c5c80746f9f86a16a1f751a5cf5d8e317d4cc48243a19fb180d22303bce"]
diff -r f337d14fafce -r f54b4b483500 pyproject.toml
--- a/pyproject.toml Mon Aug 26 01:18:31 2019 +0300
+++ b/pyproject.toml Mon Aug 26 01:22:27 2019 +0300
@@ -31,6 +31,7 @@
3131
3232 [tool.poetry.dev-dependencies]
3333 pytest = "^5.0"
34+pytest-cov = "^2.7.1"
3435 flake8 = "^3.7.8"
3536 flake8-isort = "^2.7.0"
3637 flake8-docstrings = "^1.3.1"
旧リポジトリブラウザで表示