mikeizbicki / ucr-cs100

open source software construction course
Other
485 stars 407 forks source link

test cases #123

Closed willccoates closed 10 years ago

willccoates commented 10 years ago

anyone have any idea on how to come up with over a hundred test cases? do we just redo commands we have already done but with different files or what? I am confused by this

bmars003 commented 10 years ago

First thing of some obvious test cases, do those. Then try to test the extreme bounds, then try to think of test cases that might break your code.

willccoates commented 10 years ago

so should we include the test cases that break our code or no? because i have some cases that break my code but i do not know how to fix them

willccoates commented 10 years ago

like for the LS part of rshell, i cant think of anymore test cases besides the obvious simple ones and putting files as the argument