mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Document pre- and post-condition run methods
Mark pre- and post-condition functionality complete in README.
This commit is contained in:
parent
2f5e59d88b
commit
0af3efea2a
2 changed files with 7 additions and 1 deletions
|
@ -58,11 +58,17 @@ module Spectator
|
|||
parent.run_after_each_hooks
|
||||
end
|
||||
|
||||
# Runs all of the pre-condition checks.
|
||||
# This method should run prior to every example in the group.
|
||||
# Parent pre-conditions will be checked first.
|
||||
def run_pre_conditions : Nil
|
||||
parent.run_pre_conditions
|
||||
super
|
||||
end
|
||||
|
||||
# Runs all of the post-condition checks.
|
||||
# This method should run following every example in the group.
|
||||
# Parent post-conditions will be checked last.
|
||||
def run_post_conditions : Nil
|
||||
super
|
||||
parent.run_post_conditions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue