Skip to content

Whaka-project/whakamatautau-util

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

whakamatautau-util

Set of Java utils useful for authomation testing and any everyday coding. Part of the "Whaka" project.

What

Bunch of tools that we've found usable for extended automation-testing or other everyday coding:

  • Assert-builder (allowing to build an exception with multiple messages before throwing it)
  • Interface-compare (allowing to compare recursively instances of different classes by common interface, or just a list of common methods)
  • PairWise (top-level implementation of an algorithm to shuffle data into orthogonal arrays, to minimize number of test launches. See w:All-pairs testing and w:Orthogonal array testing)
  • DoubleMath (allowing to perform null-safe operations, like #equals, #compare, #round and #roundTo)
  • Try (allowing to perform try-catch operations in functional manner)
  • UberStreams (allowing to create wrappers for default streams, adding some useful method shortenings; and providing MapStream that implements stream of entries and provides lots of maps-specific methods)
  • EventCollector (allowing to easy-peasily create mocks with stubbed methods to collect passed arguments with different strategies)

Why

We couldn't find existing implementations of tools like multiple-assert, interface-compare and (especially) pair-wise shuffle. So we decided to do the bike.

Kanban

https://waffle.io/Whaka-project/whakamatautau-util/join

CI

https://travis-ci.org/Whaka-project/whakamatautau-util/pull_requests

Whakamātautau ki te mate!

Whaka!