js |
JavaScriptタグが付けられた新着投稿 - Qiita |
デザインやjavascriptを修正したのに反映されない場合の対応方法 |
https://qiita.com/SNobu/items/d9bd24a8455177280ee3
|
javascript |
2022-07-31 15:57:42 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
EC2でgmailにメール送ってみた |
https://qiita.com/docdocdoc/items/dad7e5870ae4c1ba9c5a
|
gmail |
2022-07-31 15:53:33 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
docker内(AWS)にviをインストールして使えるようにして、デバックする |
https://qiita.com/SNobu/items/fccae233082272f16aa4
|
docker |
2022-07-31 15:14:49 |
golang |
Goタグが付けられた新着投稿 - Qiita |
Go: Yahoo 郵便番号検索API の使い方 |
https://qiita.com/ekzemplaro/items/6ec1c26f4eff8ea7f0af
|
apigetaddres |
2022-07-31 15:40:18 |
海外TECH |
DEV Community |
Unit testing frontend code is (probably) useless |
https://dev.to/polterguy/unit-testing-frontend-code-is-probably-useless-27n9
|
Unit testing frontend code is probably uselessI love unit tests Magic and its satellite projects has unit tests and some of the satellite projects even has unit test coverage Statically analysing code using automation is duh kind of important to us However unit testing frontend code is quite frankly probably ridiculous Unit tests are for small units of logic to automatically ensure that your code is still valid as you refactor it and or add features to it If you put logic that requires unit testing into your frontend code you are probably doing something wrong of all projects I have worked with in my professional life were enterprise administration tools and or customer facing websites hubs and registration forms etc If you put business logic into these frontend projects you risk that some smart dude changes his JSON payloads circumventing your business logic accessing things that shouldn t be possible to access You should therefor put your business logic flows and validators etc in your backend code Duplicating some smaller parts of this in your frontend such as having validators preventing a bogus payload being transmitted to conserve bandwidth is OK But adding business logic in your frontend to the point where your frontend requires unit testing to verify its logic is still working is either redundant duplication of code to the point where you ve effectively created your app twice or if you only do it in the frontend quite frankly madness There are some exceptions to this such as frontend heavy applications that requires extreme amounts of complex frontend code An example would be Canva from the real world that has of its value proposition in the frontend allowing people to create images presentations entirely from scratch almost like a dumbed down version of Photo Shop BTW Canva is an awesome tool if you haven t tried it yet However most enterprise types of apps should not have any amount of business logic and or other types of logic in their frontends requiring unit testing to ensure validity And if you ve got unit tests in such projects modifying them and or maintaining them only becomes harder as a result of your unit tests And regardless of how many unit tests you have in your project they will never replace integration testing and or QA testing done by human beings The first thing I do every time I create a new Angular component is to delete the spec file Because if I needed it in the first place somebody should probably slap me in my face |
2022-07-31 06:11:36 |
海外ニュース |
Japan Times latest articles |
Japan debates change to COVID-19 measures amid hospital strain |
https://www.japantimes.co.jp/news/2022/07/31/national/science-health/covid-protocols-reporting/
|
Japan debates change to COVID measures amid hospital strainThe government is considering altering its COVID reporting protocols including a potential change in the collection of infection numbers in a bid to lessen the |
2022-07-31 15:23:52 |
ニュース |
BBC News - Home |
Ukraine War: Zelensky orders civilians to evacuate Donetsk region |
https://www.bbc.co.uk/news/world-europe-62365797?at_medium=RSS&at_campaign=KARANGA
|
donbas |
2022-07-31 06:14:40 |
ニュース |
BBC News - Home |
Flesh-eating bug: Swansea DJ tells how graze almost killed him |
https://www.bbc.co.uk/news/uk-wales-61944495?at_medium=RSS&at_campaign=KARANGA
|
disease |
2022-07-31 06:10:59 |
ニュース |
BBC News - Home |
UFC 277: Amanda Nunes outpoints Julianna Pena to reclaim title |
https://www.bbc.co.uk/sport/mixed-martial-arts/62366998?at_medium=RSS&at_campaign=KARANGA
|
amanda |
2022-07-31 06:04:21 |
ビジネス |
不景気.com |
週刊不景気ニュース7/31、倒産の話題が続く - 不景気com |
https://www.fukeiki.com/2022/07/week-report-220731.html
|
週刊 |
2022-07-31 06:22:07 |
北海道 |
北海道新聞 |
スケボー女子ストリート西矢が優勝 米でデュー・ツアー |
https://www.hokkaido-np.co.jp/article/712318/
|
西矢 |
2022-07-31 15:31:21 |
北海道 |
北海道新聞 |
松坂さんが野球教室 MLBジャパン主催 |
https://www.hokkaido-np.co.jp/article/712322/
|
松坂大輔 |
2022-07-31 15:34:00 |
北海道 |
北海道新聞 |
後志管内222人感染 小樽市は155人 新型コロナ |
https://www.hokkaido-np.co.jp/article/712321/
|
新型コロナウイルス |
2022-07-31 15:31:00 |
北海道 |
北海道新聞 |
鬼怒川下流で広域避難訓練、茨城 15年豪雨の被災地 |
https://www.hokkaido-np.co.jp/article/712317/
|
避難訓練 |
2022-07-31 15:27:00 |
北海道 |
北海道新聞 |
女子ゴルフ、勝が今季初勝利 楽天最終日 |
https://www.hokkaido-np.co.jp/article/712316/
|
女子ゴルフ |
2022-07-31 15:23:00 |
北海道 |
北海道新聞 |
開発局「所有者不明土地」対策強化へ 道内90万ヘクタール、公共事業や災害復旧に影響 市町村の計画作り補助 |
https://www.hokkaido-np.co.jp/article/712314/
|
公共事業 |
2022-07-31 15:08:25 |
IT |
週刊アスキー |
「テングジャーキー」がカリカリ食感のパスタスナックに! 秘伝の醤油ダレのあの味を再現 |
https://weekly.ascii.jp/elem/000/004/100/4100016/
|
醤油 |
2022-07-31 15:30:00 |
コメント
コメントを投稿