thomasjbradley / markbot

An application that automatically tests and marks student code assignments in Algonquin College Graphic Design’s Web Dev courses.
GNU General Public License v3.0
25 stars 12 forks source link

Allow screenshot difference percentage to be configured #166

Closed thomasjbradley closed 7 years ago

thomasjbradley commented 7 years ago

Maybe add a new property to the screenshot tests like:

screenshots:
  differenceOffset: +7

Positive numbers to make it easier.

screenshots:
  differenceOffset: -4

Or negative numbers to make it harder.

Would add or subtract that number from the default matching percentage.

thomasjbradley commented 7 years ago

Would be helpful for the following assignments: