dream-num/Luckysheet

[Feature request]Add test module

Open

#235 opened on 2020年11月18日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)JavaScript (2,236 forks)batch import
enhancementgood first issueproject

Repository metrics

Stars
 (15,390 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

Unit testing, etc. It should be that each submission must pass the test before submitting the code

Recommend:Jest

单元测试,在提交代码之前必须通过测试才能提交上来

可以想到的测试模块:

  • 渲染类:sheet页渲染,保证会触发到workbookCreateAfter钩子;公式计算正确;单元格每种格式,富文本渲染正常;冻结行列
  • 界面操作类:滚动条拖动正常,鼠标滚动也正常,页面缩放正常,可正常点击工具栏/sheet页等所有按钮,右击菜单正常,键盘事件正常
  • API:调用正常,钩子触发正常
  • 共享编辑正常
  • 增强功能:图片,图表,批注,条件格式,筛选,sparkline,数据透视表及操作,数据验证
  • 其他

コントリビューターガイド