Skip to content

Unit test Dao #138

@opatry

Description

@opatry

In the early stages of "sub task creation" task #130 development, an update of the Dao queries broke repository unit tests.
It would have been better (and simpler to debug) to have unit test at Dao level to spot this in isolation.

This is currently tedious to achieve at the right place (in :tasks-core) because the lack of proper Room database setup required to create an in memory database.

That being said, same is for TaskRepository which belong to :tasks-core too but have its unit tests in :tasks-shared to allow in memory database creation (without mocking Dao).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions