Testing Our Quiz
Start testing our quizzes now.
It’s finally time to write some tests. We’ll add these tests at the top of the file after the use
directives in /test/quiz_test.exs
.
Random questions
First, we need to make sure we’re generating random questions. Here’s the approach:
Access this course and 1400+ top-rated courses and projects.