issues
search
pcsm
/
simulacrum
A small library for creating mock objects in Rust.
MIT License
26
stars
3
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
no new releases?
#62
cortopy
closed
3 years ago
0
no new releases?
#61
cortopy
closed
3 years ago
2
Format code using 'cargo fmt'
#60
Atul9
opened
5 years ago
0
implement Default for Mocks
#59
jasongrlicky
opened
5 years ago
3
impl Default for mock objects
#58
asomers
closed
5 years ago
1
.called_once() violations should fail quickly
#57
asomers
opened
6 years ago
1
Can't mock a Send Trait
#56
asomers
closed
5 years ago
6
Can't mock methods with generic parameters more than once per mock object
#55
asomers
opened
6 years ago
5
Returning method should take their parameters by value
#54
asomers
closed
5 years ago
0
Mock methods can't consume their parameters
#53
asomers
closed
5 years ago
1
Mock methods can't return by move
#52
asomers
opened
6 years ago
1
panicked at 'called `Option::unwrap()` on a `None` value' when mocking generic methods
#51
asomers
opened
6 years ago
1
constraint::stock::params::tests::test_handle_call_fail fails on stable Rust
#50
asomers
closed
6 years ago
2
Call them "Checkpoints" instead of "Eras"
#49
jasongrlicky
opened
6 years ago
0
Rustdoc for Facade landing page should be friendlier
#48
jasongrlicky
opened
6 years ago
0
Mock objects should be able to return other mock objects
#47
jasongrlicky
closed
6 years ago
1
Param mismatch is misreported as called-too-many-times
#46
jasongrlicky
opened
6 years ago
0
Print the number of times the function was expected to be called
#45
jasongrlicky
opened
6 years ago
0
Print parameter index or name if when a parameter mismatches in a Tuple Validator
#44
jasongrlicky
opened
6 years ago
0
Mocks should not warn on dead code if .then() or various expect methods aren't used
#43
jasongrlicky
closed
6 years ago
1
Determine which version of Rust is required to use simulacrum and add a badge
#42
jasongrlicky
opened
6 years ago
0
Re-architect crate dependencies for more granular versioning.
#41
jasongrlicky
closed
6 years ago
1
Use $crate to make params!() macro more robust
#40
jasongrlicky
closed
6 years ago
1
Use $crate to make simulacrum_macros more robust
#39
jasongrlicky
closed
6 years ago
1
Clean up docs for macros
#38
jasongrlicky
opened
6 years ago
0
Update `params!` macro docs to go up to 9 parameters
#37
jasongrlicky
closed
6 years ago
1
Add back multiple expectations per method per era
#36
jasongrlicky
opened
6 years ago
0
Using was_called! warns about unused parens sometimes
#35
jasongrlicky
closed
6 years ago
1
Add docs.rs & crates.io badges to README.md
#34
Atul9
closed
6 years ago
3
Use compile_error! to provide more useful error messages
#33
jasongrlicky
opened
6 years ago
0
Should improve error messages for unwraps in ExpectationStore.was_called() and .was_called_returning()
#32
jasongrlicky
opened
6 years ago
0
Add ability to mock methods that return references and mutable references
#31
jasongrlicky
opened
6 years ago
0
Properly encapsulate simulacrum::Method and other types in our macro API
#30
jasongrlicky
closed
6 years ago
1
Mocks generated by macros should be cloneable
#29
jasongrlicky
closed
6 years ago
1
Mock Objects should be cloneable
#28
jasongrlicky
closed
6 years ago
1
Final empty Era does not get marked as completed
#27
jasongrlicky
closed
6 years ago
1
Consider having Eras not complete eagerly
#26
jasongrlicky
opened
6 years ago
0
Validators should be able to work with references without deref() or cloning
#25
jasongrlicky
opened
6 years ago
0
Macros should work with doc comments
#24
jasongrlicky
opened
6 years ago
0
Can error messages be improved with file! / line! / column! macros?
#23
jasongrlicky
opened
6 years ago
0
Figure out a way to not have <unknown> appear on Stable when encountering unexpected parameters
#22
jasongrlicky
opened
6 years ago
0
Complete rustdoc documentation
#21
jasongrlicky
opened
6 years ago
0
Dual-license as Apache/MIT
#20
jasongrlicky
opened
6 years ago
2
Panics about unmet expectations should be colorized
#19
jasongrlicky
opened
6 years ago
0
Update Macros to use Syn 0.12
#18
jasongrlicky
closed
6 years ago
1
Update Auto to use Syn 0.12
#17
jasongrlicky
opened
6 years ago
0
Make it easier to import everything
#16
jasongrlicky
closed
6 years ago
4
Limit API surface
#15
jasongrlicky
opened
6 years ago
0
Auto should support &'static references in parameters
#14
jasongrlicky
opened
6 years ago
0
There should be a maximum of one expectation set per era per method.
#13
jasongrlicky
closed
6 years ago
2
Next