I am new to testing so I am trying to test some random things that I found on the Internet. These are the test case that I thought for testing these things. Any help to assist me is very much appreciated.
1) Testing a text box.
Test cases:
Unit tests:
Passing alphabets from [a-z], [A-Z]
digits [0-9] , special symbols
test special characters specific to a language like \n etc
Stress tests:
To add a string as long as possible
Any other test cases are possible ? Do I need to test multiple text boxes too?
For general input testing:
!@#$%^&*()-=+_;’:”\|[]{},./<>?` (<– see: these chars break the StackOverflow HTML code parser )unicodecharactersnullinputTry these strings and see if your program crashes:
If you’re using
printf()the unsafe way it will crash.