Releases: AbsaOSS/balta
Releases · AbsaOSS/balta
v0.3.0
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 viaimplicit 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-effectDBFunction.getResult
added - it executes the function and returns its result as a list ofQueryResultRow
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 #39addNull
parameter now properly works inDBTable
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 🤓
- @miroslavpojer made their first contribution in #12
Full Changelog: v0.2.0...v0.3.0
v0.2.0
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 withcountOnCondition
by @benedeki in #30
Full Changelog
Release v0.1.1
What's Changed
- #24 Fixed DBTable where condition, now it works correctly for multiple condition parameters, by @jakipatryk in #25
New Contributors
- @jakipatryk made their first contribution in #25
Full Changelog: v0.1.0...v0.1.1
Release v0.1.0
- 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