投稿時間:2023-06-09 10:20:52 RSSフィード2023-06-09 10:00 分まとめ(23件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
IT InfoQ JBang 0.107.0 Delivers Java 21 Preview, OpenAI Integration, and More https://www.infoq.com/news/2023/06/jbang-107/?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global JBang Delivers Java Preview OpenAI Integration and MoreJBang provides a preview of Java integrating with the OpenAI plugins via the quickstart port from Python and further integration with ChatGPT to generate Java code By Shaaf Syed 2023-06-09 00:30:00
IT ITmedia 総合記事一覧 [ITmedia News] Google、生成AI採用企業向け保護フレームワーク「Secure AI Framework」 https://www.itmedia.co.jp/news/articles/2306/09/news087.html google 2023-06-09 09:36:00
IT ITmedia 総合記事一覧 [ITmedia ビジネスオンライン] 「ChatGPTを利用した」1割、どんな職業の人が使っているのか https://www.itmedia.co.jp/business/articles/2306/09/news046.html chatgpt 2023-06-09 09:12:00
IT SNSマーケティングの情報ならソーシャルメディアラボ【Gaiax】 Instagramまとめ(ガイド)機能とは?使い方やメリット、活用事例を解説 https://gaiax-socialmedialab.jp/post-98852/ instagram 2023-06-09 00:10:42
IT SNSマーケティングの情報ならソーシャルメディアラボ【Gaiax】 Instagram発見タブのアルゴリズムの中身をエンジニアが徹底解説 https://gaiax-socialmedialab.jp/post-76937/ instagram 2023-06-09 00:05:17
IT SNSマーケティングの情報ならソーシャルメディアラボ【Gaiax】 Instagramのブランドコンテンツ広告とは? 気になるメリットや出稿方法を解説 https://gaiax-socialmedialab.jp/post-75993/ instagram 2023-06-09 00:00:04
TECH Techable(テッカブル) TechMagic、炒め調理を自動化するロボット発売。今夏、大阪王将にテスト導入 https://techable.jp/archives/211067 大阪王将 2023-06-09 00:30:14
デザイン コリス ビジネスサイトのWordPressに絞って実装に必要な知識を学べる解説書 -ビジネスサイトを作って学ぶ WordPressの教科書 https://coliss.com/articles/book-review/isbn-9784802614030.html 続きを読む 2023-06-09 00:36:17
js JavaScriptタグが付けられた新着投稿 - Qiita HTMLの新機能:Popover APIによるJavaScriptなしのポップオーバー実装 https://qiita.com/Raio14f/items/aa668dc33cd8880e01d4 javascript 2023-06-09 09:32:42
js JavaScriptタグが付けられた新着投稿 - Qiita JavaScript で ドラッグ&ドロップをやってみる https://qiita.com/sueasen/items/2a39e709ffac6ff041f5 ethepenuntitledbysueasens 2023-06-09 09:05:56
Ruby Rubyタグが付けられた新着投稿 - Qiita YJITについて説明するときに使えそうな資料の引用まとめ https://qiita.com/kyntk/items/747310602908b399b5b9 keynote 2023-06-09 09:31:20
AWS AWSタグが付けられた新着投稿 - Qiita AMIの共有先のAWS環境でEC2インスタンスを起動するとステータスが終了済みになった際の対応方法 https://qiita.com/is0383kk/items/84d5f7b1b0a1978ecee8 起動 2023-06-09 09:30:39
golang Goタグが付けられた新着投稿 - Qiita Goでメソッドの引数が同じ型である場合、省略して記述できる https://qiita.com/mitsuaki1229/items/4d116ffaba6c4536bf90 atourofgo 2023-06-09 09:14:08
技術ブログ Developers.IO Google Cloud の Batch を触ってみました(ローカル SSD 利用編) https://dev.classmethod.jp/articles/google-cloud-%e3%81%ae-batch-%e3%82%92%e8%a7%a6%e3%81%a3%e3%81%a6%e3%81%bf%e3%81%be%e3%81%97%e3%81%9f%ef%bc%88%e3%83%ad%e3%83%bc%e3%82%ab%e3%83%ab-ssd-%e5%88%a9%e7%94%a8%e7%b7%a8%ef%bc%89/ batch 2023-06-09 00:00:24
海外TECH Ars Technica A telescope happened to be pointing at the brightest supernova yet observed https://arstechnica.com/?p=1946626 bursts 2023-06-09 00:04:35
海外TECH DEV Community Sharing Interaction Tests Between Vitest and Storybook https://dev.to/scottnath/sharing-interaction-tests-between-vitest-and-storybook-2pj2 Sharing Interaction Tests Between Vitest and StorybookHow to use the same testing library UI tests for Storybook Interaction testing and Vitest Vite s native test runner tl drTests can be shared between Vitest tests test js and Storybook stories play tests by using shared test files shared spec js Replace all assertions describe Meow component gt it should meow gt const thing thing thing thing render lt Meow gt expect thing toBe some assertion expect thing toBe some assertion expect thing toBe some assertion expect thing toBe some assertion With shared tests describe Meow component gt it should meow gt sharedTests render lt Meow gt Meow props Why share tests between Storybook and Unit tests Time and money and coverage reporting requirements and trust issues If your Continuous Integration system does not allow the installation of Playwright or running a browser test storybook cannot be used in CI to test your componentsIf your coverage tool does not support Storybook s play or smoke tests but you re already writing Interactive tests in StorybookIf you or your Dev team prefer not to rely solely on Storybook as your only test suiteIf you want a single source of truth for your component s tests Shared tests and how to use themStaying D R Y so see part and part of the shared tests series for details Basic example of shared spec tests being used in VitestTake a basic Vitest for a button button test jsimport render from testing library react import userEvent from testing library user event import vi from vitest describe MeowButton gt const props label meow onClick vi fn it should have properly configured attributes async gt const queryByRole render lt Button props gt const button await queryByRole button await expect button toBeTruthy await expect button toHaveTextContent props label it should respond to mouse interaction async gt const queryByRole render lt Button props gt const button await queryByRole button await userEvent click button await expect args onClick toHaveBeenCalled await expect args onClick toHaveBeenCalledTimes await args onClick mockClear If you have shared test methods like this button shared spec jsimport within userEvent from storybook testing library export const getElements async canvasElement gt const button await within canvasElement findByRole button return button export const ensureElements async elements args gt const button elements same assertions as in the Vitest await expect button toBeTruthy await expect button toHaveTextContent args label export const mouseInteraction async elements args gt const button elements same user event as in the Vitest await userEvent click button same assertions as in the Vitest await expect args onClick toHaveBeenCalled await expect args onClick toHaveBeenCalledTimes await args onClick mockClear Then integrating the shared test methods in your Vitest would allow you to centralize all assertions for use in other testing systems You d only need to write the Vitest specific containers with Vitest doing the component rendering button test js updated import render from testing library react import getElements ensureElements from button shared spec import vi from vitest describe MeowButton gt const props label meow onClick vi fn it should have properly configured attributes async gt const rendered render lt Button props gt const elements await getElements rendered container await ensureElements elements props it should respond to mouse interaction async gt const rendered render lt Button props gt const elements await getElements rendered container await mouseInteraction elements props As a refresher on shared tests in Storybook here are the shared test methods in a Storybook story button stories jsimport getElements ensureElements from button shared spec export const MeowButton args label meow play async args canvasElement gt const elements await getElements canvasElement await ensureElements elements args await mouseInteraction elements args Important Pointsrendered container is equivalent to canvasElement in that they are both an HTMLElement that contains the rendered componentgetElements mouseInteraction and ensureElements are the same functions used in Storybook s play function Expand the concept with a shared test suite While the previous example may seem overbuilt this concept is crazy helpful when you have a lot of tests to write for a lot of different scenarios A way to make this easier is to create a shared test suite method within your test file button test js updated Uses the shared spec methods inside vitest test functions param Component OG component or a composed via storybook version param args props to pass to the component const buttonTestSuite Component args gt it should have properly configured attributes async gt const rendered render lt Component args gt const elements await getElements rendered container await ensureElements elements args it should respond to mouse interaction async gt const rendered render lt Component args gt const elements await getElements rendered container await mouseInteraction elements args it should respond to keyboard interaction async gt const rendered render lt Component args gt const elements await getElements rendered container await keyboardInteraction elements args describe Button gt describe Primary gt buttonTestSuite Primary Primary args describe Secondary gt buttonTestSuite Secondary Secondary args describe Large gt buttonTestSuite Large Large args describe Small gt buttonTestSuite Small Small args The above will test each permutation of Button in the same way and you can add as many test examples as you want without having to repeat yourself or excessively increasing the size of the file Verbose output coverage would look like this ✓src stories Button test jsx ✓Button ✓Primary ✓should have properly configured attributes ✓should respond to mouse interaction ✓should respond to keyboard interaction ✓Secondary ✓should have properly configured attributes ✓should respond to mouse interaction ✓should respond to keyboard interaction ✓Large ✓should have properly configured attributes ✓should respond to mouse interaction ✓should respond to keyboard interaction ✓Small ✓should have properly configured attributes ✓should respond to mouse interaction ✓should respond to keyboard interactionTest Files passed Tests passed Start at Duration s transform ms setup ms collect ms tests ms environment ms prepare ms ConclusionSharing tests between Storybook and your application s test suite could be seen as a niche need however looking at your testing in a more programatic way will keep your test suites DRYallow a single source of truth for your test assertionsallow you to change UI frameworks but keep the same UX to be explained in part Sharing Tests Between Javascript Frameworks 2023-06-09 00:29:30
海外TECH Engadget GM EV owners will gain access to Tesla Superchargers in 2024 https://www.engadget.com/gm-ev-owners-will-gain-access-to-tesla-superchargers-in-2024-002123436.html?src=rss GM EV owners will gain access to Tesla Superchargers in Ford isn t the only electric automaker switching to Tesla s North American Charging Standard ーGeneral Motors says it s making the change too CEO Mary Barra announced the move during a Twitter Spaces chat with Tesla CEO Elon Musk on Thursday stating that its electric vehicles will make the NACS open source connector standard in all GM EVs in As part of the collaboration all GM EVs will gain access to Tesla Superchargers in Drivers of existing GM EVs won t have to upgrade their vehicles to use Tesla s chargers but will need to use an adapter to make their vehicle compatible Likewise GM says it will be developing an adapter that will allow future NACS enabled EVs to charge its existing network of CSS capable fast charging stations That backwards compatible charger could prove important Tesla s willingness to open up its charging system to non Tesla vehicles was originally announced alongside a billion Biden administration initiative to expand EV charger availability in the US ーbut that plan heavily indexes on building out CCS chargers quot This collaboration is a key part of our strategy and an important next step in quickly expanding access to fast chargers for our customers quot Barra said in GM s statement on the partnership quot Our vision of the all electric future means producing millions of world class EVs across categories and price points while creating an ecosystem that will accelerate mass EV adoption quot This article originally appeared on Engadget at 2023-06-09 00:21:23
海外科学 NYT > Science Canadian Wildfires, Smoke and Heat Herald Climate Extremes https://www.nytimes.com/2023/06/08/climate/canada-wildfires-smoke-extreme-weather.html Canadian Wildfires Smoke and Heat Herald Climate ExtremesScientists have long warned that global warming will increase the chance of severe wildfires like those burning across Canada and heat waves like the one smothering Puerto Rico 2023-06-09 00:22:51
金融 ニッセイ基礎研究所 株主総会とIT技術の進展(1)-株主総会招集通知と参考書類(原則) https://www.nli-research.co.jp/topics_detail1/id=75055?site=nli これは定款に株主総会資料を電子提供することを定めた株式会社においては、株主総会招集にあたって書面で株主総会の参考資料を送付することを要さないとするものである。 2023-06-09 09:56:24
海外ニュース Japan Times latest articles Justice Department charges Trump in documents case https://www.japantimes.co.jp/news/2023/06/09/world/crime-legal-world/trump-charges-documents-case/ federal 2023-06-09 09:15:45
ニュース BBC News - Home Donald Trump indicted over classified documents case https://www.bbc.co.uk/news/world-us-canada-65852062?at_medium=RSS&at_campaign=KARANGA miami 2023-06-09 00:52:02
ビジネス 電通報 | 広告業界動向とマーケティングのコラム・ニュース 視覚障がい者のためのリアルタイム実況生成AI「Voice Watch」が、NY ADCでBest of Discipline(部門最高賞)を受賞 https://dentsu-ho.com/articles/8595 bestofdiscipline 2023-06-09 09:10:54
マーケティング MarkeZine ダイバーシティで価値を作る、「インクルーシブデザイン」が注目されている理由とは http://markezine.jp/article/detail/42333 culumu 2023-06-09 09:30:00

コメント

このブログの人気の投稿

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2020-12-01 09:41:49 RSSフィード2020-12-01 09:00 分まとめ(69件)