Question: Using the Ruby minitest gem, write and run tests for the code provided in this tasks resources. Complete the tests required (as indicted by the
# tester_demo.rb
require \"minitest/autorun\"
require_relative \"student\"
class StudentTest
def test_student_id_is_integer
assert_kind_of Integer, get_student_id(2)
end
# insert a test here for the finding the correct student for id 300
# insert a test here for returning \"Not Found\" for student with id 800
# insert a test here for finding the correct student name for array position 0
end
If this could be done using the ruby minitest functions it be helpful
thank you.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
