shard-spectator/src/spectator/example.cr

15 lines
283 B
Crystal
Raw Normal View History

2018-08-19 07:15:32 +00:00
module Spectator
abstract class Example
2018-09-13 03:31:44 +00:00
getter? finished = false
2018-09-11 03:51:14 +00:00
2018-09-15 19:25:11 +00:00
abstract def run : Result
2018-09-11 21:57:18 +00:00
abstract def description : String
abstract def group : ExampleGroup
def initialize(@locals = {} of Symbol => ValueWrapper)
end
private getter locals
2018-08-19 07:15:32 +00:00
end
end