Thanks to visit codestin.com
Credit goes to github.com

Skip to content

muradnasibli/TDD-TicTacToe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TDD - Test Driven Development

Here, I've tried good tests with TDD standards. Actually, I was inspired by the Test-Driven Development book by Viktor Farcic and Alex Garcia.

This game has been played by everybody. You only need to wait your turn and win. As you know, X starts and then O continues. It is possible to win by going vertical, horizontal, or diagonal. That's why I tried to use every winning structure.

V1.

I attempted to write a tic-tac-toe game with TDD. I completed that version with 100 percent coverage. Win, draw, no winner, outside the board, occupied board, vertical, horizontal, and diagonal wins. The test is written with JUnit5.

About

Test Driven Development with Tic-Tac-Toe

Topics

Resources

Stars

Watchers

Forks

Languages