Testometer -Tic-Tac-Toe Test
In the game of tic-tac-toe, two players take turns marking squares of an initially empty 3 × 3 grid with either X’s or O’s. The first player always marks squares using X’s, whereas the second player always marks squares using O’s. If at any point during the game either player manages to mark three consecutive squares in a row, column, or diagonal with his/her symbol, the game terminates.
Well then lets try out testing this TIC-Tac-Toe game. Like previous Testometer Tests, this one also will measure your testing skills. You should have a good understanding of this game and its rule before start writing test cases. Here you go...
  1. Given a board configuration, your goal is to determine whether the board configuration represents the possible final state of a valid tic-tac-toe game. If you want to leave some field empty, give '.' instead of 'O' and 'X'.
  2. Player X will always start the game.
For example, Enter the series like OX..X in the text box this will form a test cases for you. This string will be treated as a final state of a tic-tac-toe game assuming player X started. In the above case 'O' will go in the first cell 'X' in the next cell horizontally and so on so forth. Hope it is clear and you will enjoy thinking about various combinations for this.
 
Let me know if you like this approach by giving your feedback. You can also suggest more problems like this. Have you checked our Triangle Test or Sine Wave Test ?
 
             Enter String of 'X' ,'O'and '.'      
 

                                                                  
                                                                  
                                                                  
 


                 



 
Comments on Your Test Data :
 
Comments on Your Test Performance :
Acknowledgement :
  • We would like to thank Mr Anil Kumar for suggesting the TIC-TAC-TOE problem for Testometer. Thanks Mr. Kumar.  It was a good exercise for TestingGeek as well. Keep sending more suggestions.

Known Limitations :

  • There are some spelling mistakes and for the input of '.........' system treat it as a condition where 'O' is winning which is obviously wrong. Thank You Joe for finding this.

  • For the sequence 'OOXOXXOXX' system treat it as a condition where 'X' is wining. This is wrong, this should be an example of negative test case, since 'X' and 'O' can not win together in any given game. Thank you Irfana for finding this.

Recent Updates
Flash Objects and Selenium
Continuous Integration
Selenium Workshop
Delicious Testing
Pattern for automated testing of web applications
Exploratory Testing
 
Read More
Accessibility API Testing Article Backword BigBang Blackbox Blog Bottomup Boundary CaseStudies Certification DefectReport DistanceTest Equivalence FitNesse Geeks Graybox Guerrilla Testing Tips GUI HTA Humor Hybrid Internationalization Installation Integration Is it done? JUnit Measurement Mercury Quality Centre News One CPU better than two Patent PatternForAutomation Performace Checklist Rational Test Suite Regression Requirement Verification Research Rational Functional Tester Security Selenium Selenium Workshop SilkTest System Testing Templates TestComplete Tools Testing Types Testing Tools In News Testing Terms In News Testometer Test Plan TG Tips For Automation Top Down Integration Trait UAT UI Testing CheckList Unit Testing Usability VMWare Web Application Security Web Application Testing Checklist Whitebox Testing
Disclaimer  |  Privacy Policy  |  g e e k AT T e s t i n g G e e k DOT c o m
© Copyright 2008, www.TestingGeek.com