Slack 利用人工智能驱动的混合方法实现从 Enzyme 到 React 测试库的大规模迁移.pdf

编号:981532 PDF 62页 2.78MB 下载积分:VIP专享
下载报告请您先登录!

1、Hybrid Approach for Large-Scale Migration from Enzyme to React Testing Librarypowered by AISergii Gorbachov Slack,Vancouver,CanadaStaff EngineerDeveloper Experience DepartmentTable of Contents1.Problem statement2.Current state3.Approaches and solutions4.Evaluation/impact5.Important findingsWhat is E

2、nzyme and RTL?Test utilities that allow testing ReactReact is the JavaScript library used to build UI interfacesWhy is it important?Enzyme supports React 17 or lowerReact 18:migrate to RTL or lose test coveragePerformance,responsiveness,and user experienceSlack15k Enzyme tests to convert10k eng hour

3、s(1 test=30-45 mins)5+years of unit testsWeekly downloads-Nov,2024Enzyme:1.7 million Enzyme-adapter-react-17:500k RTL:10 millionWhat did the present look like?No adaptersNothing open sourceNo previous articles on working automated solutionsIn this talk I will walk you through Slacks approach to this

4、 problem1.Applicable to“complex”conversions2.Innovative approach3.Maybe you still use Enzyme4.Real life successful case for LLMs Why you might be interested?Approaches,solutions and timelines Frontend test frameworks teamResponsibilities Lead the migration of tests owned by 50+teams with 150+develop

5、ers Convert tests Automate and optimize How do you divide work fairly and organize it for 150+developers in 50+teams for the next 9 months?Challenges Feature ownership:Challenges Not granular enough Out of date Missing assignment Disproportionate ownership Test authorship:Challenges Partial authorsh

6、ip Change of teams Large refactoring projectsHow do you divide work fairly and organize it for 150+developers in 50+teams for the next 9 months?Challenges Combined ownership and authorship Divided workload evenly across every individual engineer FE engineers actively writing React:Q3:10 test cases p

友情提示

1、下载报告失败解决办法
2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
4、本站报告下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。

本文(Slack 利用人工智能驱动的混合方法实现从 Enzyme 到 React 测试库的大规模迁移.pdf)为本站 (竿头日上) 主动上传,三个皮匠报告文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三个皮匠报告文库(点击联系客服),我们立即给予删除!

温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。
客服
商务合作
小程序
服务号
折叠