Maurício Aniche

Results 84 issues of 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.

videos

We currently have it alone in a section at the end of the model-based testing chapter. Make it as an exercise.

exercises

We only talk about those two things theoretically, and do not really show how to test them. We need (code) examples.

content
code-example

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.

content
code-example

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...

content

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.

videos

The test smells chapter needs code examples: - [ ] Code duplication - [ ] Assertion Roulette - [ ] Resource Optimism - [ ] Test Run War - [...

content
code-example

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

content
code-example

Discuss how to perform boundary testing in case the code involves arrays.

content
code-example

We discuss examples like _coupling_, _cohesion_, _complex condition_ as harming testability. Code examples for them would be nice.

content
code-example