October 2008
Intermediate to advanced
352 pages
10h 30m
English
Based on what you know about the problem domain, for each column in data from this chapter model, list the ranges of valid and invalid data.
Write unit tests for those boundary conditions. Where appropriate, add validations to make your unit tests pass.
Add the theatre_id column
back to the movie_showtimes
table. Prove to yourself that you can reproduce the anomalous
situation described in this chapter. Is there any way you can use a
database constraint to prevent the anomalies?
Read now
Unlock full access