Skip to content
This repository was archived by the owner on Dec 11, 2024. It is now read-only.
This repository was archived by the owner on Dec 11, 2024. It is now read-only.

[Codelab Issue] Testing Codelab 5.1, Step 9 - "Test events were not received" #274

Open
@a-champagne

Description

@a-champagne

Describe the problem
Test code provided will not run in step 9

In which lesson and step of the codelab can this issue be found?
5.1 step 9

How to reproduce?
Copy + paste example code from step 9 and run test

Versions
Arctic Fox 2020.3.1 Patch 4

Additional information
Multiple issues with code provided

  • dependency versions not included in build.gradle (hamcrest and others)
  • trying to run code from steps 8 and 9 result in "Test events were not received" error (see log error below)
  • trying to run code from end_codelab_1 branch also results in this output from the log:
FAILURE: Build failed with an exception.
* What went wrong: 
Execution failed for task ':app:testDebugUnitTest'.
> No tests found for given includes: [com.example.android.architecture.blueprints.todoapp.tasks.TasksViewModelTest.addNewTask_setsNewTaskEvent](filter.includeTestsMatching)
 

codelab: advanced-android-kotlin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions