Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DiceBot_test: テストデータファイルを使用する #6

Closed
ochaochaocha3 opened this issue Jul 8, 2019 · 1 comment
Closed
Assignees
Labels
enhancement New feature or request

Comments

@ochaochaocha3
Copy link
Collaborator

dicebot/testdata/DiceBot.txtを読み込み、含まれているテストデータを使用してテストを行う。

@ochaochaocha3 ochaochaocha3 self-assigned this Jul 8, 2019
@ochaochaocha3 ochaochaocha3 added the enhancement New feature or request label Jul 8, 2019
ochaochaocha3 added a commit that referenced this issue Jul 15, 2019
refs #6

まず基本のダイスボットのテストのみで実装した。
今後、他のダイスボットのテストでも簡単に呼び出せるインターフェースを
作る。
ochaochaocha3 added a commit that referenced this issue Jul 16, 2019
refs #6

pkg/dicebot/testing パッケージにまとめる
ochaochaocha3 added a commit that referenced this issue Jul 16, 2019
refs #6

pkg/dicebot/testing パッケージにまとめる
ochaochaocha3 added a commit that referenced this issue Jul 16, 2019
fixes #6

pkg/dicebot/testing パッケージにまとめる
@ochaochaocha3
Copy link
Collaborator Author

5e715ee で実装完了。Ruby版と同様のテストデータファイルと最小限のGoコードで、ダイスボットのテストを実行できるようになった。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant