IT |
気になる、記になる… |
「Twitter Blue」、Android向け公式アプリからも加入可能に − 月額料金はiOS版と同じ1,380円 |
https://taisy0.com/2023/01/19/167278.html
|
android |
2023-01-19 08:33:37 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] 情報漏えい事故を起こした上場企業が25%増 東京商工リサーチ調査──Jフロント、森永、メタップス、不正アクセス影響大 |
https://www.itmedia.co.jp/news/articles/2301/19/news166.html
|
itmedia |
2023-01-19 17:30:00 |
TECH |
Techable(テッカブル) |
NFT保有者が効率よく報酬を獲得できる?イオレがNFTゲームの“ギルド”を運営! |
https://techable.jp/archives/191708
|
digitalentertainmenta |
2023-01-19 08:51:14 |
TECH |
Techable(テッカブル) |
「超主観空間」映像を展示!チームラボ、1月25日よりブラジル・サンパウロで個展を開催 |
https://techable.jp/archives/191696
|
flower |
2023-01-19 08:51:14 |
TECH |
Techable(テッカブル) |
好きな角度から鑑賞できる! デジタルミュージアム「360度Art House MIURA」で人間国宝が作った陶芸品のデジタルツインを公開 |
https://techable.jp/archives/191722
|
arthousemiura |
2023-01-19 08:51:13 |
TECH |
Techable(テッカブル) |
仮眠もできる!オットマン&リクライニング機能がついた高コスパのメッシュチェアが発売 |
https://techable.jp/archives/191710
|
直販 |
2023-01-19 08:51:13 |
TECH |
Techable(テッカブル) |
ガチャではなく「中身の見えるパック販売」!Jリーグチーム「横浜F・マリノス」のトレカNFTが販売開始 |
https://techable.jp/archives/191703
|
onesports |
2023-01-19 08:51:13 |
TECH |
Techable(テッカブル) |
4人の男性キャラと事件調査!「原神」開発スタジオの恋愛ミステリーゲームアプリ「未定事件簿」 |
https://techable.jp/archives/191731
|
hoyoverse |
2023-01-19 08:51:12 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
FBXに別のモーションを適用するスクリプト |
https://qiita.com/phabyui/items/772d0ce2bf68f73c1d76
|
importbpy |
2023-01-19 17:03:45 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
【Ruby】Safe Navigation Operator &. |
https://qiita.com/daikimukai/items/9a89bdf23edb242e42ed
|
classhogedefh |
2023-01-19 17:47:09 |
Linux |
Ubuntuタグが付けられた新着投稿 - Qiita |
Azure 仮想マシン Ubuntu Server 20.04 LTSの作成でハマる |
https://qiita.com/fsdg-nishina/items/c27e41cfcfa0a970047f
|
trainin |
2023-01-19 17:29:08 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
【AWS IAM】特定のホストゾーンのみ閲覧できるポリシー設定 |
https://qiita.com/beyondjapan_24365/items/cc28c78a1289f4841279
|
awsiam |
2023-01-19 17:17:05 |
GCP |
gcpタグが付けられた新着投稿 - Qiita |
Dataform(GCP)を業務運用して得られたtips |
https://qiita.com/iwakiriK/items/c8c622a8265f82ada02c
|
dataform |
2023-01-19 17:21:53 |
Azure |
Azureタグが付けられた新着投稿 - Qiita |
Azure 仮想マシン Ubuntu Server 20.04 LTSの作成でハマる |
https://qiita.com/fsdg-nishina/items/c27e41cfcfa0a970047f
|
trainin |
2023-01-19 17:29:08 |
技術ブログ |
Developers.IO |
「こんなことまでしてくれるの!?~データエンジニアを助けてくれるFivetranとSnowflake~」を開催しました #Fivetran #SnowflakeDB |
https://dev.classmethod.jp/articles/fivetran-and-snowflake-help-data-engineers/
|
fivetran |
2023-01-19 08:31:40 |
技術ブログ |
Developers.IO |
Bubbleで実際のWebサービスを意識した天気情報アプリを作ってみた |
https://dev.classmethod.jp/articles/bubble-practical-app/
|
bubble |
2023-01-19 08:26:41 |
技術ブログ |
Developers.IO |
[EC2.16] 未使用のネットワークアクセスコントロールリストを削除する必要があります(AWS SecurityHub 基礎セキュリティのベストプラクティスコントロール)修復手順 |
https://dev.classmethod.jp/articles/securityhub-repair-procedure-ec2-16-2/
|
awssecurityhub |
2023-01-19 08:11:27 |
海外TECH |
DEV Community |
Don't target 100% coverage |
https://dev.to/antoinecoulon/dont-target-100-coverage-387o
|
Don x t target coverage Don t target coverage but achieve it anyway I recently noticed that a lot of people were advising to reach of code coverage and were presenting it as a primary indicator of code quality While I agree on the fact that it s an interesting metric everyone must be aware that having of coverage does not indicate the quality of tests and the way to achieve a good coverage is more important that being able to produce of coverage as an end it must not be a target in the first place Let s see why Code CoverageFirst things first let s briefly explain what is code coverage for those who are not really familiar with the concept Code coverage is a technique aiming to determine what parts of your program is being covered by a test Basically the code coverage tool instantiates counters and they are incremented once a line of your program is traversed by one of your tests Here is a quote from istanbul one of the most used code coverage tool Istanbul instruments your ES and ES JavaScript code with line counters so that you can track how well your unit tests exercise your codebase Code coverage tools often collect various metrics such as of statements traversed of branches traversed of functions traversed of lines traversedOverall code coverage tools just collect the amount of production code traversed by a test whether the assertion is relevant or not which is where the devil resides The trap Let s see a trap example with a simple project using c as our code coverage tool istanbul unfortunately does not natively work with ESM You can grab the source code here index jsexport function add a b return a b Now here is one simple test that we would expect to be truthy index spec jsimport assert from assert import add from index js it should return function assert equal add When running the test we can see that it turns to green and the coverage is automatically generated for us As we can see everything is covered by tests all the statements all the functions all the branches etc So everything is fine so we could just ship the feature right But what if someday someone just changes a little detail pretty confident that it will work as the unit test still succeeds after the change Thanks to Michaël Azerhad who provided me that example while back export function add a b return a b return a b The test suite still passes and coverage is still showing us of coverage As simple as the example may seem it demonstrates that coverage only checks that a given chunk of code is at least traversed once but it will never tell you if a test is valuable nor useful in some kind of way Consequently there is a danger which is that it can make you feel wrongly safe about your code just based on the fact that they are traversed by a test at some point in time Don t let coverage be your primary concern Don t get me wrong I m not saying that coverage is not useful in itself However aiming towards reaching after having written the code will most likely produce false positive tests in a Test Last fashion just to make statistics look better I would even say that Code Coverage Driven Development CCDD sometimes inherits from the disadvantages of the Test Last approach that is most of the time either writing irrelevant or even worse useless tests They both make you feel safe and confident as the console only shows green lights but it won t avoid you to get in trouble Mutation testing an under estimated tool Because I m lazy I ll once again simply quote the definition from the Stryker documentationBugs or mutants are automatically inserted into your production code Your tests are run for each mutant If your tests fail then the mutant is killed If your tests passed the mutant survived The higher the percentage of mutants killed the more effective your tests are Basically it does something fundamentally different from code coverage which is adding variants to branches of your program By mutating your code the mutation testing tool can detect whether your test suite was correctly covering or not the behavior produced by the mutation Let s try it on our small example using Stryker npm run mutation testRunning the test produces the following output As you can see one mutant survived which is the one changing the Arithmetic Operator which is exactly what we were looking for Consequently we can see that it does a step forward by allowing tests to be tested via the mutation of the production code itself The more your tests kill mutants the more they tend to be relevant You could have of coverage by having only to of the mutants killed which is a big smell Be careful with code coverage You might have guessed it but mutation testing tools can also provide code coverage reports Automatically reaching coverage and of mutants killed using Test Driven Development ️With a simple example we just showed that coverage as such is not enough to ensure tests quality We also saw that mutation testing helps finding incomplete missing test suites What if I told you that a good coverage and a high rate of mutants killed can be a positive side effect of a discipline that does not care about any coverage in the first place Test Driven DevelopmentThis article is not dedicated to Test Driven Development TDD is but I ll try to make a short introduction Test Driven Development is a software development discipline that aims to drive the writing of code required to make a failing test prerequisite pass i e turn to GREEN in very short feedback loop cycles Test Driven Development fundamentally helps designing software as it allows to infinitely and safely refactor at any point in time the code produced which is one of the main benefits When doing TDD correctly because each line of code produced must be justified by a failing test in the first place coverage will be naturally achieved All the mutants will also be killed if TDD was done correctly as changing a line of code or one statement will without a doubt break one test otherwise it means that some code was shamefully produced without having a failing test first Not only you ll achieve of code coverage and of killed mutants but you ll be able to produce a code with a higher level of quality depending on your refactor skills because TDD can drive you writing a well designed code but the skillset required to do so has nothing to do with TDD Of course Test Driven Development is not a silver bullet but it is to date the best way of mixing both code quality with code coverage and the best part is that you ll most likely do it unconsciously Wrap upDon t get me wrong code coverage is useful in many ways as it can show how well a codebase is covered by tests at a very high level for instance having a very low percentage of coverage means that there is not enough tests so it s good metric to start with Nevertheless having the opposite which is a high percentage of code coverage does not mean that tests are relevant The best way of achieving both a high percentage of coverage and tests reliability is by not targeting it in the first place otherwise it might lead people to write more or less often less relevant tests just make the percentage a little bit better the worst part being that it makes everyone feel safer By also using mutation testing tools and by mastering disciplines such as Test Driven Development or at least Test First you can end up achieving coverage and mutants killed by not caring at all of all these metrics That is the target Project sample can be found there |
2023-01-19 08:39:04 |
医療系 |
医療介護 CBnews |
介護主体の社福法人、昨年度に4割超赤字-6年間で最高、福祉医療機構調べ |
https://www.cbnews.jp/news/entry/20230119171850
|
社会福祉法人 |
2023-01-19 17:45:00 |
医療系 |
医療介護 CBnews |
BA.5からBQ.1.1などへの置き換わり進む-東京都のゲノム解析結果 |
https://www.cbnews.jp/news/entry/20230119170345
|
新型コロナウイルス |
2023-01-19 17:10:00 |
海外ニュース |
Japan Times latest articles |
Japan’s lawmakers get OK to ditch masks during plenary session speeches |
https://www.japantimes.co.jp/news/2023/01/19/national/lawmaker-speeches-masks/
|
Japan s lawmakers get OK to ditch masks during plenary session speechesRuling and opposition lawmakers agreed to install a plexiglass shield at the speaker s podium aimed at preventing COVID infection via aerosol transmission |
2023-01-19 17:29:13 |
海外ニュース |
Japan Times latest articles |
Japan’s government starts talks on ‘unprecedented’ steps to reverse birthrate decline |
https://www.japantimes.co.jp/news/2023/01/19/national/government-discussion-reverse-birth-rate-decline/
|
Japan s government starts talks on unprecedented steps to reverse birthrate declineKishida is expected to announce his resolve to roll out significant child care measures next week in a speech to be delivered at the beginning |
2023-01-19 17:17:39 |
ニュース |
BBC News - Home |
Levelling up: New Eden Project among schemes to share £2bn |
https://www.bbc.co.uk/news/uk-politics-64321755?at_medium=RSS&at_campaign=KARANGA
|
government |
2023-01-19 08:23:17 |
ニュース |
BBC News - Home |
France strikes bid to halt Macron's rise in retirement age |
https://www.bbc.co.uk/news/world-europe-64309155?at_medium=RSS&at_campaign=KARANGA
|
retirement |
2023-01-19 08:12:10 |
ニュース |
BBC News - Home |
Heavy snow closes Manchester Airport runways |
https://www.bbc.co.uk/news/uk-england-manchester-64303783?at_medium=RSS&at_campaign=KARANGA
|
flight |
2023-01-19 08:26:30 |
ニュース |
BBC News - Home |
Australian Open 2023 results: Aryna Sabalenka and Caroline Garcia win but four other seeds fall |
https://www.bbc.co.uk/sport/tennis/64328825?at_medium=RSS&at_campaign=KARANGA
|
Australian Open results Aryna Sabalenka and Caroline Garcia win but four other seeds fallBelarusian Aryna Sabalenka and France s Caroline Garcia both win in the Australian Open second round but four women s seeds fall early on day four |
2023-01-19 08:44:17 |
ビジネス |
不景気.com |
千葉の水産加工「ダイマル食品」が民事再生、負債14億円 - 不景気com |
https://www.fukeiki.com/2023/01/daimaru-shokuhin.html
|
信用調査会社 |
2023-01-19 08:37:33 |
マーケティング |
MarkeZine |
インスタのDM配信自動化などを実現 Direct Techらが「GALLERY Reply」の提供へ |
http://markezine.jp/article/detail/41052
|
directtech |
2023-01-19 17:15:00 |
IT |
週刊アスキー |
“無骨”に進化したミリタリー調の石油ストーブ「RR-GER25」、トヨトミ |
https://weekly.ascii.jp/elem/000/004/121/4121203/
|
rrger |
2023-01-19 17:50:00 |
IT |
週刊アスキー |
セガ・アトラスのPCタイトルが最大80%オフ!1月31日までSteamセールを実施中 |
https://weekly.ascii.jp/elem/000/004/121/4121189/
|
segalunarsale |
2023-01-19 17:15:00 |
IT |
週刊アスキー |
iOS/Android版『戦国伝承2 アケアカNEOGEO』が配信開始 |
https://weekly.ascii.jp/elem/000/004/121/4121185/
|
戦国伝承 |
2023-01-19 17:10:00 |
IT |
週刊アスキー |
ソニー、「Xperia 5 IV」SIMフリーモデルを2月1日に発売 |
https://weekly.ascii.jp/elem/000/004/121/4121191/
|
xperia |
2023-01-19 17:10:00 |
マーケティング |
AdverTimes |
BOVAの応募動画には固定概念を「打ちやぶる」ほどのサプライズを! |
https://www.advertimes.com/20230119/article409019/
|
鈴木 |
2023-01-19 08:00:50 |
コメント
コメントを投稿