Game-as-a-Service / Game-as-a-Service/Mahjong

Design Doc- Example Mapping Update

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
docs
Dominant language
No language data
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

Description

依據12/20會議中定義的 Example Mapping 原則重新撰寫 EM 並更新在 Design-Document.md 文件裡

**given 測試的環境
when 想測的操作
then 預期操作的結果**

> 寫given when then有下列要點
> 1. Given 專注於先決條件
> 2. When 是用來凸顯一個動作
> 3. Then 是一種結果,總是為T/F
> Then可以有多種行為, 如果要寫很多, 用 behave 寫會很煩。
> 視情況直接用 unitest module

Contributor guide

No contributing guide indexed for this repository

Research direction

Open Design-Document.md and review the existing Example Mapping content against the given/when/then principles listed in the issue. Rewrite the EM examples in that document, using the stated guidance about preconditions, actions, boolean results, and when unit tests may be preferable to behave. Done means the document reflects the updated principles and examples.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.