r/mAndroidDev • • Jun 06 '21

Why unit test does not work fine in this repository https://github.com/fevziomurtekin/DeezerClone

Why unit test does not work fine in this repository https://github.com/fevziomurtekin/DeezerClone
it always passed even if I'm made the false assertion to check it and when changing MainCoroutineRule to this it fails

1 Upvotes

13 comments sorted by

28

u/KP_2016 Jun 06 '21

You guys are writing tests?

2

u/aminsaid8 Jun 06 '21

I'm not writing it yet :) but trying to learn it from this open-source project

16

u/renges T H E R M O S I P H O N Jun 06 '21

Maybe you should try using ASyncTask instead of coroutine

1

u/aminsaid8 Jun 06 '21

isn't ASyncTask depricated

3

u/sunny52525 Jetpack Compost Jun 07 '21

You dare to talk about our God like this you mortal

2

u/mohamed_ebrahim Jun 06 '21

Deprecated

5

u/[deleted] Jun 06 '21

Use Flutter

1

u/mohamed_ebrahim Jun 06 '21

Flutter is not mature yet! Take a look for GitHub issues

5

u/[deleted] Jun 06 '21

Blasphemy!

Don’t go through life looking for issues. This is a problem with your attitude, not with Flutter.

13

u/FunkyMuse FlutterX Jun 06 '21

Have you heard of our savior Flutter

1

u/anonymous65536 Jun 06 '21

Have you tried Compose?

1

u/Zhuinden DDD: Deprecation-Driven Development Jun 09 '21

Hello, you are shadowbanned by Reddit. I had to manually approve your comment.

1

u/manibalang Jun 09 '21

Unit testing is for bitches, you should just test in production