Open lwasser opened 5 years ago
We can also put all of the helper function definitions in hidden cells (run_tests
and output_results
). Eventually, these will move to a separate library, but for now this will reduce the complexity of the student notebook.
oh... but if they are hidden, they won't run for the students right? so that means no visible tests (which is ok to get started!)
i also thought about simple test suites for the basic stuff like a plot has a title and x y labels. i have a lot of ideas after yesterday- it was so helpful @kcranston i'm glad you pushed for it.
RElated to the discussion yesterday, we should decide what types of tests are
Visible Tests (open)
General structural tests that are asserts, true/false and generally there to guide the students along in the assignment.
Hidden Tests
I think many tests will be hidden. these tests relate specifically to the assignment an associated data. They are not tests surrounding structural things like (the data are a data frame or the plot has image data in it).