2020-10-12 20:49:10 +08:00
|
|
|
# Release Note
|
|
|
|
|
2020-12-12 00:05:53 +08:00
|
|
|
## 0.4.1
|
|
|
|
- deprecate @TestableMock annotation, use @MockMethod and @MockConstructor instead
|
|
|
|
|
2020-12-11 12:22:22 +08:00
|
|
|
## 0.4.0
|
|
|
|
- fix a jvm 9+ compatibility issue cause by default classloader change
|
|
|
|
- fix a conflict issue when testcase name duplicated between different class
|
|
|
|
- refactor code structure, module `testable-all` added
|
|
|
|
- separate constant definition from `TestableTool` to `TestableConst`
|
|
|
|
|
2020-12-01 23:54:04 +08:00
|
|
|
## 0.3.2
|
|
|
|
- support grable project for both private member access and quick mock
|
|
|
|
- support access private static field and methods via PrivateAccessor
|
2020-11-24 23:18:12 +08:00
|
|
|
|
|
|
|
## 0.3.1
|
2020-11-18 11:03:53 +08:00
|
|
|
- support detail log of mocking process for diagnosis
|
|
|
|
|
|
|
|
## v0.3.0
|
2020-11-15 14:37:44 +08:00
|
|
|
- add `without()` checker to verify mock method never invoked with specified parameters
|
|
|
|
- support fuzz matcher when verifying mock invocation
|
2020-11-10 14:10:14 +08:00
|
|
|
|
2020-11-07 23:39:21 +08:00
|
|
|
## v0.2.2
|
|
|
|
- support mock method parameters check
|
|
|
|
- fix a compatibility issue with jvm 9+
|
|
|
|
|
2020-10-27 23:02:31 +08:00
|
|
|
## v0.2.1
|
|
|
|
- support mock static method
|
|
|
|
- support mock kotlin companion object method
|
|
|
|
- support mock invoke by interface / base class object
|
|
|
|
|
2020-10-22 20:57:02 +08:00
|
|
|
## v0.2.0
|
2020-10-25 13:58:03 +08:00
|
|
|
- use `TestableTool` class to expose test context and verify mock invoke
|
|
|
|
- add `testable-maven-plugin` module to simplify javaagent configuration
|
2020-10-24 09:30:36 +08:00
|
|
|
- remove dependence on EnableTestable annotation in `testable-agent`
|
|
|
|
- rename annotations to reflect the actual use
|
2020-10-20 22:47:25 +08:00
|
|
|
|
2020-10-25 20:40:44 +08:00
|
|
|
## v0.1.0
|
2020-10-14 20:18:45 +08:00
|
|
|
- move generated agent jar to class folder
|
2020-10-22 20:57:02 +08:00
|
|
|
- support mock method of any object
|
2020-10-12 20:49:10 +08:00
|
|
|
|
2020-10-14 20:18:45 +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
|
|
|
|
|
2020-10-14 20:18:45 +08:00
|
|
|
## v0.0.2
|
|
|
|
- add support of member method mocking by compile time code modification
|
2020-10-12 20:49:10 +08:00
|
|
|
|
2020-10-14 20:18:45 +08:00
|
|
|
## v0.0.1
|
|
|
|
- PoC version
|
|
|
|
- use compile time code modification to support new operation mocking and private field & method access
|