CodeYourFuture / CodeYourFuture/Module-Structuring-and-Testing-Data

Suggesting building function before writing tests, contradicting task.

未关闭
#1,246 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
:gear: bug 📅 Sprint 3 Module-Structuring-And-Testing-Data NotCoursework
主要语言
JavaScript
星标
0
派生
396
PR 合并指标
30 天内没有已合并 PR

描述

### Link to the curriculum page

https://github.com/CodeYourFuture/Module-Structuring-and-Testing-Data/blob/main/Sprint-3/1-implement-and-rewrite-tests/implement/1-get-angle-type.js

### Steps to reproduce

The [original instructions](https://github.com/CodeYourFuture/Module-Structuring-and-Testing-Data/tree/main/Sprint-3/1-implement-and-rewrite-tests) for this backlog item mention:

> Write your assertions and build up your program case by case. Don't rush to a solution. The point of these assignments is to learn how to write assertions and build up a program step by step.

Just checking, we definitely want to build testing habit of TDD? Looks like the acceptance criteria for the "implement" tasks should be saying to make tests and build the function as you go, but they currently suggest building the full function before working on tests.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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