Skip to content

Releases: AbsaOSS/balta

v0.3.0

24 Oct 14:10
87c997b
Compare
Choose a tag to compare

New Features 🎉

  • Simplified working with the query results in the DB tests by @benedeki in #37
  • QueryResultRow can now be converted to a case class or tuple via implicit class ProductTypeConvertor.toProductType[T] by @benedeki in #36
  • New way how to execute a function by @benedeki in #34
    • DBFunction.perform added - it just executes the function without care for result, only to achieve the side-effect
    • DBFunction.getResult added - it executes the function and returns its result as a list of QueryResultRow
  • DBTable now offers delete operation to remove all or selected records from the table by @benedeki in #45
  • Easier override of the data persistence within DBTestSuite instance via constructor parameter (no need to function overrides) by @benedeki in #46

Bugfixes 🛠

  • SimpleJsonString can now be used as an input parameter for both functions and table queries by @benedeki in #39
  • addNull parameter now properly works in DBTable by @benedeki in #45

Documentation 📜

  • README.md now lists the basic classes of the library used for DB testing including basic description of their intent by @benedeki in #36

Project changes ⚙️

  • Added sbt testAll alias to run both unit and integration tests in one go by @benedeki in #36
  • Introduced code coverage measuring using JaCoCo by @miroslavpojer in #12
  • Added *Spike" issue template by @benedeki in #40
  • Introduced GitHub workflow to check presence of Release notes in PR description by @miroslavpojer in #48

New Contributors 🤓

Full Changelog: v0.2.0...v0.3.0

v0.2.0

26 Aug 16:27
5b334af
Compare
Choose a tag to compare

Breaking Changes 💥

New Features 🎉

QueryResultRow fields can now be accessed by index too, not just by the field name (fieldCount, and rowNumber properties are now also available) by @benedeki in #29

Bugfixes 🛠

  • QueryResultRow now instantiates the row data making operating with it much easier and possible even outside of transaction by @benedeki in #29
  • Function count with a when condition has been deprecated, replaced with countOnCondition by @benedeki in #30

Full Changelog

v0.1.1...v0.2.0

Release v0.1.1

11 Jun 09:32
4acf802
Compare
Choose a tag to compare

What's Changed

  • #24 Fixed DBTable where condition, now it works correctly for multiple condition parameters, by @jakipatryk in #25

New Contributors

Full Changelog: v0.1.0...v0.1.1

Release v0.1.0

11 Dec 17:59
ae4433c
Compare
Choose a tag to compare
  • first release of the library
  • DB test writing that run within a transaction, that is automatically rolled back at the end of each test-case
  • allows calls of DB functions, including verification of returned values
  • allows easy INSERT and SELECT operations on DB tables
  • some more abilities to make writing tests easier