testable-mock/docs/ReleaseNote.md

30 lines
1009 B
Markdown
Raw Normal View History

2020-10-12 20:49:10 +08:00
# Release Note
## v0.1.1
- use `TestableTool` class to expose test context
## v0.1.0
- move generated agent jar to class folder
- now support mock method of any object
2020-10-12 20:49:10 +08:00
## v0.0.5
- use dynamically runtime modification to replace static `e.java` file
- get rid of unit test framework dependence
- add testable ref field in test class at runtime instead of compile time
## v0.0.4
- use runtime byte code rewrite to invoke testable setup method
- add `TestableUtil` class to fetch current test case and invocation source
2020-10-12 20:49:10 +08:00
## v0.0.3
- use global method invoke to access private members instead of modification in place
- use `e.java` replace `testable` class make code more readable
- introduce `agent` module, use runtime byte code modification to support new operation and member method mocking
## v0.0.2
- add support of member method mocking by compile time code modification
2020-10-12 20:49:10 +08:00
## v0.0.1
- PoC version
- use compile time code modification to support new operation mocking and private field & method access