issues
search
stevieb9
/
mock-sub
Mock subroutines, with ability to add return values and side effects.
4
stars
0
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
wrong behaviour or misleading description
#31
XSven
opened
6 months ago
2
Add ability for mocked sub to call the original, and perform work on its return value(s)
#30
stevieb9
opened
2 years ago
1
evaluate no_warnings; should it include core override?
#29
stevieb9
opened
5 years ago
0
mock build in system, qx subs?
#28
sidey79
opened
5 years ago
10
Add option to specify correct prototype for mock method
#27
sidey79
opened
6 years ago
6
change param return to only do so if explicitly asked for
#26
stevieb9
closed
6 years ago
0
setting return_value in a mock object sets all subs to return that value
#25
stevieb9
closed
6 years ago
0
add functionality so that if side_effect() or return_value() don't return anything, return params
#24
stevieb9
closed
6 years ago
0
typo in SYNOPSIS (missing semicolon)
#23
stevieb9
closed
6 years ago
0
add ability to supress warnings about mocking non-existent subs
#22
stevieb9
closed
8 years ago
0
Get more test coverage
#21
stevieb9
closed
8 years ago
1
POD: typo... "start cteating mocked sub objects."
#20
stevieb9
closed
8 years ago
0
Need test for CORE:: functions being classified as main:: if not in BEGIN
#19
stevieb9
closed
8 years ago
0
Allow a mocked sub to 'wrap' around the original
#18
stevieb9
closed
8 years ago
3
Child::mock() calling scenarios
#17
stevieb9
closed
8 years ago
1
in SYNOPSYS, state() needs to be changed to mocked_state()
#16
stevieb9
closed
8 years ago
0
RELEASE_TESTING failures
#15
stevieb9
closed
8 years ago
0
File not found error in t/02-write.t
#14
stevieb9
closed
8 years ago
1
use "no warnings 'syntax'" to remove prototype mismatch errors
#13
stevieb9
closed
8 years ago
0
Ensure child can't change its sub
#12
stevieb9
closed
8 years ago
1
called_count() restores its pre-reset count after another run of mocked sub
#11
stevieb9
closed
8 years ago
0
Calling mock in void context can't trigger unmock() in DESTROY()
#10
stevieb9
closed
8 years ago
2
Consider DESTROY call unmock
#9
jberger
closed
8 years ago
0
called_with before being called will error
#8
jberger
closed
8 years ago
1
calling context mocked object and side_effect
#7
jberger
closed
8 years ago
0
scalar returns from the mock
#6
jberger
closed
8 years ago
1
Arguments to side_effect
#5
jberger
closed
8 years ago
3
Add check for 'sub' param to ensure it exists in %INC
#4
stevieb9
closed
8 years ago
0
in SYNOPSIS, eval() around the action code
#3
stevieb9
closed
8 years ago
1
if return is before side_effect->() in *sub, we break t/06
#2
stevieb9
closed
8 years ago
1
Add with_args()
#1
stevieb9
closed
8 years ago
1