Maurício Aniche
Maurício Aniche
Record a video explaining how to build CFGs. The section exists in the structural-based chapter already, we only miss a video.
We currently have it alone in a section at the end of the model-based testing chapter. Make it as an exercise.
We only talk about those two things theoretically, and do not really show how to test them. We need (code) examples.
We do not have a single code example there. We have to implement the `Phone` class as a state machine, and then all its tests.
The `PhonePlan` class, as we write in the model-based testing chapter, works as follows: ``` PhonePlan plan = new PhonePlan(); plan.setInternational(true); plan.setAutoRenewal(false); plan.setLoyal(true); ``` It'd be nice to revisit the...
Once all the code examples are done (#28) , the videos would get much better if they go through the code, rather than just their definition.
The test smells chapter needs code examples: - [ ] Code duplication - [ ] Assertion Roulette - [ ] Resource Optimism - [ ] Test Run War - [...
This SimpleDateFormat bug can be a good example of how bugs can be tricky to be found: https://stackoverflow.com/questions/8686331/y-returns-2012-while-y-returns-2011-in-simpledateformat
Discuss how to perform boundary testing in case the code involves arrays.
We discuss examples like _coupling_, _cohesion_, _complex condition_ as harming testability. Code examples for them would be nice.