changing factory size per factory

Before it was one class variable, but ints and messages are not created in equal amounts.
This commit is contained in:
2019-08-24 09:46:33 +03:00
parent 86b27ab319
commit 02261ad79d
10 changed files with 43 additions and 45 deletions

View File

@ -1,17 +1,20 @@
module Parfait
def self.default_test_options
{
factory: 20,
Message: 30,
Integer: 30,
}
end
def self.interpreter_test_options
{
factory: 50,
Message: 50,
Integer: 50,
}
end
def self.full_test_options
{
factory: 1024,
Message: 300,
Integer: 300,
}
end
end