Are you prepared for HF19? SteemJ is! – About 70 test cases have been added in this release to ensure the code quality of the project. Under the help of those tests, several bugs have been identified and fixed. Beside that, more Operations can now be broadcasted.
Previous 0.2.x releases: v0.2.4 v0.2.3 v0.2.2 v0.2.1 v0.2.0
SteemJ v0.2.5 has been released
Hello together,
last week I saw the new RC1 of Steem 0.19.0 and was quite afraid. I guess most of the third party developers know the struggle with new releases: If you do not have the time to read through most of the Steem GitHub Issues, you will get surprised by suddenly missing fields or other changes.
The only way to handle this problem is a good test coverage of your code as this allows you to identify problems quite fast. And to be honest with you, I am quite lazy when it comes to tests and after @inertia added the first bunch of integration tests for API calls I’ve only added tests for features where I had to make sure that they are working.
So I was definitive not prepared for a new HF
So this update mainly takes care of the code quality and added about 70 unit and integration tests to the project. The following Screenshot shows the current status of SteemJ in version 0.2.5.
There is still a lot to improve, but I guess we are on a good way.
Changelog
For those who are already disappointed, because the release is focused on code quality, I also have some good news: I’ve spend yesterdays night to also add some new Operations to the project and can proudly announce that SteemJ can now broadcast 18 of 42 Operations. All changes can be found in the Changelog below.
Functional Updates
- This release adds about 70 test cases to SteemJ to secure the quality of SteemJ. With the help of those tests issues in the following methods have been identified and fixed:
- AccountCreateWithDelegationOperation
- EscrowTransferOperation
- getAccounts
- getTrendingTags
- getConfig
- The following Operations can now be broadcastet
- An equals and a hashCode method has been added to the following objects:
- Asset
- Price
Code Quality Improvements
- Added integration tests for all operations that can be broadcastet. Each test has the following test cases:
- Test parsing
- Test byte transformation
- Validate operation against the api
- Additional unit tests have been added
Documentation
- The following Wiki pages have been updated:
- Additional JavaDoc has been added to several methods and fields
With this release I’ve transformed also a Authority Object into a Byte-Array. This actually means that I’ve transformed all Objects used by Operations for at least one time – From now on it is more or less a copy- and paste process to implement the missing Operations. Therefore I think that there will only be one ore two more 0.2.x releases.
General information
What is SteemJ?
SteemJ is a project that allows you to communicate with a Steem node using Java. So far, the project supports most of the API calls and is also able to broadcast most of the common operation types. Further information can be found on GitHub.
Contribute
The project became quite big and there is still a lot to do. If you want to support the project simply clone the git repository and submit a pull request. I would really appreciate it =).
git clone https://github.com/marvin-we/steem-java-api-wrapper.git
Get in touch!
Most of my projects are pretty time consuming and I always try to provide some useful stuff to the community. What keeps me going for that is your feedback and your support. For that reason I would love to get some Feedback from you <3. Just contact me here on Steemit or ping me on GitHub.
Thanks for reading and best regards,
@dez1337