No video

Build testable apps for Android (Google I/O'19)

  Рет қаралды 51,590

Android Developers

Android Developers

Күн бұрын

Пікірлер: 21
@marcoq7160
@marcoq7160 3 жыл бұрын
... didn't timestamp at first ... 12:26 Architecture components 12:44 MVVM: Model-View-ViewModel 13:43 Asynchronicity 14:37 Kotlin coroutines 15:02 Coroutine scopes, viewModelScope 16:10 User Journey 1: Creating a new task 16:33 Test Driven Development: cycle (units) in cycle (E2E) 17:08 E2E tests: be real, black box 18:07 E2E test of User Journey 1 19:31 Integration tests: grey box 20:24 Integration test for AddEditTask 21:27 Test Doubles are stand-ins for the real objects 25:58 Further decomposition, scope limiting 27:15 Extract interface then create a fake version 28:46 Unit tests: black box, test behavior not implementation 31:34 Flaky async tests, runBlocking 32:58 runBlockingTest 33:22 State 34:56 The line is blurry 36:05 Modularization is good 37:15 Document your test pyramid clearly 37:32 Local tests vs Instrumentation tests 38:07 AndroidX Test 39:11 Project Nitrogen
@Jakilyn
@Jakilyn 3 жыл бұрын
🙏 Jonathan and Ellen
@blockbusterlatefees7713
@blockbusterlatefees7713 5 жыл бұрын
Great speaker. No fluff. Easy to understand.
@genericbrain882
@genericbrain882 3 жыл бұрын
RIP Jonathan
@kashishmalhotra
@kashishmalhotra 5 жыл бұрын
Very nicely structured and well explained video. I have seen the previous talks of the same instructor and he is always good. Thanks for the video.
@alohawhy
@alohawhy 3 жыл бұрын
*Rest in Peace Gerrish Family.* 😫 So strange of a death.
@soopahsoopah
@soopahsoopah 2 жыл бұрын
Sad but not really all that strange. Happens on a regular basis.
@pamelajackson2383
@pamelajackson2383 3 жыл бұрын
rest in peace
@n-o-i-d
@n-o-i-d 5 жыл бұрын
3:52 Shouldn't the "Speed" label be replaced with something like "Duration"? Unit tests are the fastest.
@baudiyusupov3636
@baudiyusupov3636 3 жыл бұрын
Wow, the amount of AAAAA's and Ummmmm's are so low in his speech. Great speaker
@mouse6210
@mouse6210 3 жыл бұрын
Rip.
@brunocasado03
@brunocasado03 5 жыл бұрын
Is there a way to get the presentation? This type of video that hides the presentation is horrible, we can't follow what the speaker is talking about!
@ilyichelgar4493
@ilyichelgar4493 4 жыл бұрын
Where i can get the presentation :( :( :(
@SnoopyDoofie
@SnoopyDoofie 5 жыл бұрын
Here's the most optimal way that Google should implement building testable apps: First you need to designate a special folder in Android where developers can place files that they would use for testing. You should avoid the test folder that is currently used for unit testing because my solution would interfere with the normal functionality of that folder. Let's say Android designates a folder called "swap". The developer can create sub folders in this and place any source code files they want. These files will be used to swap out files either in the "main" folder or in one of the variant/flavor folders. You can even allow multiple versions of the same file exist but they would have to be placed in different folders if they have the same name. The developer then goes to the "Edit Configuration" menu item where they normally setup debugging configurations. If you click on a Edit Configuration and then on "app" (this is the default configuration), you will see 4 tabs (General, Miscellaneous, Debugging and Profiling). Now let's add a 5th tab called "Swap". When you click on this, it lists all the files located under the swap directory. Maybe show the files in the same tree structure as they appear under Project files. Next to each file is a checkbox. The developer then selects whatever files they want to use that will swap out any files during build. When the build is run, the Android plugin will check to see if a file that is to be compile exists under the swap folder that has been checked off in the app configuration settings. If so, it uses that instead of the one it would normally use. This solution allows the user to create multiple debug configurations that can contain combinations of swap files that are needed for testing. It also eliminates the need for dependency injection. Say good-bye to Dagger, which is nothing more than a band-aid that should never have been introduced to Android to start with.
@AmCanTech
@AmCanTech 4 жыл бұрын
Thank you!
@luthiers5488
@luthiers5488 3 жыл бұрын
I couldn't find the codelab for this talk since the one provided in the video gave me 404, can anyone please provide me the link to it?
@dxshindeo
@dxshindeo 3 жыл бұрын
Testing is scary...
@mykhailovasylenko173
@mykhailovasylenko173 4 жыл бұрын
I can't find this app sample in the android-test repository. Can someone helps me and provide the link??
@eugenebrusov1459
@eugenebrusov1459 4 жыл бұрын
I believe link to that project is github.com/android/architecture-samples
@peterpan7659
@peterpan7659 3 жыл бұрын
"databinding" eww
Jetpack Navigation (Google I/O'19)
28:24
Android Developers
Рет қаралды 33 М.
Kotlin under the hood: Understand the internals (Google I/O'19)
40:46
Android Developers
Рет қаралды 46 М.
Gli occhiali da sole non mi hanno coperto! 😎
00:13
Senza Limiti
Рет қаралды 16 МЛН
Joker can't swim!#joker #shorts
00:46
Untitled Joker
Рет қаралды 39 МЛН
Ouch.. 🤕
00:30
Celine & Michiel
Рет қаралды 46 МЛН
How This New Battery is Changing the Game
12:07
Undecided with Matt Ferrell
Рет қаралды 142 М.
Why is anti-immigration sentiment on the rise in Canada?
13:00
The Guardian
Рет қаралды 1,8 МЛН
Improving app performance with benchmarking (Google I/O'19)
36:31
Android Developers
Рет қаралды 19 М.
Google I/O 2012 - Go Concurrency Patterns
51:27
Google for Developers
Рет қаралды 805 М.
What's new in architecture components (Google I/O'19)
37:12
Android Developers
Рет қаралды 92 М.
Think Fast, Talk Smart: Communication Techniques
58:20
Stanford Graduate School of Business
Рет қаралды 39 МЛН
What's new in Android Development Tools (Google I/O'19)
36:43
Android Developers
Рет қаралды 31 М.
React Native vs Flutter in 2024 - Make the RIGHT Choice (Difference Explained)
10:31
Daniel Dan | Tech & Data
Рет қаралды 165 М.
Understand Kotlin Coroutines on Android (Google I/O'19)
37:49
Android Developers
Рет қаралды 174 М.
Gli occhiali da sole non mi hanno coperto! 😎
00:13
Senza Limiti
Рет қаралды 16 МЛН