How to use this generator
-
Clone this repo
-
Navigate to the folder in terminal and run
ruby generator.rb
-
Input your practice test requests in the form
category: # of problems
(or just press enter and have a random test generated for you.) -
You will now have three new files:
practice_test.rb
,spec.rb
andsolutions.rb
. These should be self explanatory. Runbundle exec rspec spec.rb
to test your answers against the spec as you work through the practice assessment.
Submit more problems!
Create the problem, spec and solution files, add them to their respective folders, and add their names to the list.csv
file