Closed noralin closed 6 years ago
HI @noralin. Excluding is not supported for now, however you can add it relatively easy for you project by extending Crystalball::MapGenerator
and using it in your spec helper.
Something like
class MyMapGenerator < Crystalball::MapGenerator
def refresh_for_case(example, *args)
return if example.id =~ /\A(\.\/)?spec\/features/
super
end
end
should work.
Great, thank you! Would you like me to close this?
I'll close it for now, however, If this feature will get some upvotes we might add support of it out of the box in future.
I'm wondering if it's possible to exclude map generation for spec/features/?