Migrate meant to aid upgrading to jQuery n should have tests run on jQuery n-1

未关闭
#201 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
javascript
领域
testing

调研方向

从适当的 jQuery n-1 分支中的 jQuery Core test/ 目录开始,并将其与当前的 Migrate 测试设置进行比较。运行组合的 jQuery 和 Migrate 测试,找出在迁移覆盖期间失败的测试,并对无法快速处理的失败使用 QUnit.skip。当测试套件能够针对 jQuery n-1 运行、回归问题可见,并且更难处理的失败被单独跟踪时,即视为完成。

由索引模型根据 Issue 内容生成。

描述

We should verify that Migrate meant to aid migration from jQuery n-1 to n passes as much as possible from the jQuery n-1 test suite. One idea is to commit the test/ directory from the Core repo's proper branch and comment out or QUnit.skip tests that are broken and we don't know how to quickly fix them (maybe creating issues for those that are possible but hard to fix). That way we'd at least know we don't regress; currently the test coverage of the whole jQuery + Migrate combination is pretty low.

cc @dmethvin & @gibson042 which discussed this idea with me on IRC.

主要语言
JavaScript
星标
2.1k
派生
477
平均合并
20 小时 48 分钟
30 天内合并 PR
1

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

jquery/jquery-migrate 的其他 Issue

查看 jquery/jquery-migrate 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。