sergiiz / rxbasicskata Goto Github PK
View Code? Open in Web Editor NEWPractical challenges for RxJava learners
Home Page: https://proandroiddev.com/practical-challenges-for-rxjava-learners-1821c454de9
License: MIT License
Practical challenges for RxJava learners
Home Page: https://proandroiddev.com/practical-challenges-for-rxjava-learners-1821c454de9
License: MIT License
For some reason test is not running in android studio, only in intellij idea and after some settings change. Just nothing happens when I am running test. Can you help with that?
I had downloaded and tried this repo before, all worked fine. Recently I download the repo again but it doesn't anymore. The problem seems to be related to Android Studio and IntelliJ. Anyone have workarounds?
Class not found: "org.sergiiz.rxkata.CountriesServiceSolvedTest"Empty test suite.
I took the challenge:
listOnly3rdAnd4thCountry
Lists are 0 based thus the 3rd item is at index 2 yet the matching test expects index 3 and 4.
getCurrencyUsdIfNotFound
The expected format for the default value should be defined upfront, I thought the default response should be "Usd" but the test expects "Usd (Default)"
isPopulationMoreThan1Million
The method name doesn't indicate that the user should check if all countries in the list have more than 1M population, the Single<Boolean>
result type may also indicate to check if any of the countries is over 1M.
rx_ListPopulationMoreThanOneMillion_FutureTask
It is reasonable to expect that when the user sees Future
or FutureTask
he/she will use fromFuture(Future, Scheduler)
to make sure any potential blocking on Future.get()
doesn't block the subscribing thread. The test is not ready for this and may fail the test.
rx_CountryNameInCapitalsWithNPE
RxJava 2 is largely a non-null library and nothing indicates the Country.name
may be null
. In addition, the test expects a particulare string to be returned for the null
name.
Hello, Sergii.
Problem
I can't see the rxkata
module, which contains code and tests. I'm using both Project and Android perspective in the Project View.
Note
It's probably just a lack of knowledge about Gradle on my side, but I'd be grateful it you can help. Perhaps a few other people are also searching for the solution.
And in any case, thank you for creating this project.
Hi Segii,
thanks for the nice articel and the kata, I really enjoyed it.
Is there any reason why you did a gradle multi-project? A simple gradle project would be enough and simpler...
Best regards,
Peti
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.