alexmojaki / alexmojaki/futurecoder

Increase test coverage in the backend

オープン
#137 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
backend good first issue help wanted
主要言語
Python
スター
1.5k
フォーク
183
PR マージ指標
30日以内にマージされた PR はありません

説明

The tests mostly cover the golden paths, i.e. users getting steps right or triggering a message step. There's lots of untested code. It can be found pretty easily by running tests with coverage. Some stuff is tested by test_frontend but that's slow and more difficult to measure coverage for so we should have pure Python tests for it. I'm particularly interested in the edge cases of bad code submissions from users, e.g:

- Messing up an `ExerciseStep` in various ways, e.g. writing a solution that satisfies your own sample inputs but not the other tests.
- Messages in steps that are returned manually, i.e. `return dict(message='...')` instead of a `MessageStep`. These tests would be specific to such steps.
- Submissions that trigger `Disallowed`
- Submissions that trigger linting errors

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。