proper icon indicating copy to clipboard operation
proper copied to clipboard

why proper not returning error when can't produce enough satisfies instances?

Open andrzejsliwa opened this issue 12 years ago • 0 comments

why proper not returning error when can't produce enough satisfies instances?

I mean in proper:module, proper:check_spec, proper:check_specs...

I have just [] ... as result of (proper:check_specs(example):

Testing example:size/1
.........................................................................................................................................................................................
Error: Couldn't produce an instance that satisfies all strict constraints after 50 tries.

Testing example:is_empty/1
..............................................................................................................................................................
Error: Couldn't produce an instance that satisfies all strict constraints after 50 tries.

Testing example:new/0
........................................................................................................................................................................................................
OK: Passed 200 test(s).

Testing example:safe_pop/1
................................................................................................................................................
Error: Couldn't produce an instance that satisfies all strict constraints after 50 tries.

Testing example:pop/1
........................................................................................................................................................................................................
OK: Passed 200 test(s).

Testing example:push/2
...............................................................................................................................................................................
Error: Couldn't produce an instance that satisfies all strict constraints after 50 tries.

[]

andrzejsliwa avatar Nov 06 '12 19:11 andrzejsliwa