levaleureux / dr_spec

rspec like for dragonruby
The Unlicense
0 stars 2 forks source link

Add 'after' hooks #5

Closed terrainoob closed 1 year ago

terrainoob commented 1 year ago

This would allow us to set up external things in 'before' and clear them in 'after' to make sure tests are isolated. e.g. I might set up a save file in the 'before' and want to delete it in the 'after' (that's pretty contrived, but illustrates the point I think)

levaleureux commented 1 year ago

The basic beaviour is ok but can be improved. We need a good doc for that.