Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I'm trying to learn a bit of Android, and I've been reading a lot of documentation and tutorials.
I decided to use what seemed at that moment the most straight path, and that was use Android Studio. The first hacking hours went OK, the IDE is something that I like and I was able to build some activities.
Now I want to make things more serious and start to unit test the application. I must confess that I'm incredibly lost between the different paths that people is following. Please, if any question or assertion is wrong, let me know.
The basic testing tools that Android provide, needs to be used launching the emulator. This makes the tests run slow.
The are other approaches like Roboelectric. They have done a huge work and it would let you launch the tests from the terminal with Gradle and you can get a faster cycle (Red, Green, Refactor). Anyway, there are known problems using it with Android Studio and if sometime I need to debug a test, I won't be able.
I feel like I'm struggling a lot with something that should be very basic. I guess that my lack of knowledge in Java isn't helping. Something that it would be great and desirable as features of my project would be:
Be able to run some tests (business logic) with jUnit. Those tests should be fast and it would be great to run them from the terminal and from the IDE.
Be able to have others, isolated, integration tests (as you can see in the Android documentation).
I would like to know how people who is working in big projects are dealing with this. Any link to better documentation that I found or guidance would be greatly appreciated.
Thanks!
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I hope that someone can help me with my problem. I am quite new to stuff like Git, Spring Boot and in general Java (Maven Projects). But i want to try to modernize our archiving system for our PL/SQL scripts. Right now, we archive them by hand and zip a version with the old date to then reserv it, that no other developer can make changes at the same time. After finishing working on the script, the developer releases the script in a specific folder (release) where it gets tested. After a successful test, other developer can now finally work on the script again.
Now, i wanna try and modernize this whole procedure:
I wanna import all our PL/SQL scripts into GitLab
If some developer is working on a script and commits/pushes it, i want that a action happens, where the script gets also copied into our release-directory, where it can be tested from our consultant (in context of the specific ticket the script gets released to)
I dont excactly know if my thought fits in here but i think it would fit the modernizing concept, if a new branch would be used for this (developer/testing branch). So that after a period of 2 weeks (our scrum sprint) all changes could get merged into the master branch
I would like to know, what is the best way to realize this and how would i go forward. Because i dont know if my idea with GitLab + Spring Boot Application is the best in this scenario and even if it is, how do i manage to monitor that. Its the starting point that i am missing. Once its there i think i can handle everything but the beginning is my problem (and missing examples).
I am sorry in advance for my bad english and hope you can help me getting started with my idea :)
Thx
Steven
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I started to play arround with windowbuilder and I have already built a few basic GUI programs. However, I was wondering if I'm doing myself a disservice by learning swing this way instead of building everything myself, without using any plugins? I do have a good understanding of what goes into building the whole GUI, but still, what's your opinion on the matter?
I usually give the same example. You can't teach someone to use a calculator before teaching him how to sum. I think it's important for you to get familiarized with most of the swing components and try to grasp the basics about them so you can code them easily.
WindowBuilder is very helpful for complex designs and components, but I think you should first know the fundamentals before switching to WindowBuilder. Many people would disagree with me because that extension makes life a lot easier but it's really important to know the basics in case someday you want to work somewhere without WindowBuilder or NetBeans, or even if you want to understand the code that the program is making for you.
So, to sum up: You can install WindowBuilder and use it to learn but keep in mind you may not get some VERY useful knowledge with this method. Also, analyze the code thoroughly to understand it and try not to over-use the tool.
I would recommend writing initially with your hands. After all, WindowBuilder and similar tools are designed to speed up development, use them if you understand what is inside. All the best!
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
so here I got an open-source Android app which I must analyze and identify the structure of, things like its libraries, high-level architecture, configuration management, and testing facilities.
Now I understand where and how to look for the last two, but I still rather confused on how can I identify the libraries and architecture.
So what I'm asking is, how do I identify the architecture of an app and the libraries it uses? where do I look for it? what part of the source code? are there any tips to do this?
If there is any other info that I should provide, please do tell me.
Edit1: this is what I meant by high-level architecture, using Firefox as an example, but it doesn't have to be this technical, something more simple is also okay >>>
There are 1000s (maybe even millions) of questions on stack-overflow regarding Android development. The android documentation is itself highly exhaustive. And a simple query like "add library android project" can lead someone to answers like this.
What I am really trying to say is, a lot is already there. You just need to use it.
As for the original question :
Libraries
The dependencies can be found here. These are the external libraries that are used by this app.
-
Architecture
About that, you will mostly have to go through the code. Using Android-studio for that can be really helpful. You can use tools like this, but mostly, you will have to go through the code and understand it.
Furthermore, since its opensource project, there should be good documentation about it.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I am new to android studio and would like to make an app that is similar to Goodreads. Can someone outline the key components of making an app like this. It would also be great if I could get some kind of template that I can use. I imagine some of amount of the user information will be kept on the device while some of the other larger sets of information will be kept on a database. What would the code connecting these two parts look like and what other important parts have I missed. Thanks in advance.
Android is a big world and doesn't exist an easy way, I mean all need time to be good at something, but well is not impossible I recommend you start with the Udacity courses
Basic Level:
Developing Android Apps by Google
Android Basics: Data Storage
Android Basics: Multiscreen Apps
Android Basics: Networking
and latter star to flow important people on android world
Android expert even follow in twitter
after that, you have a basic knowledge you can start on other courses https://caster.io/ is a good choice for learn MVP MVVM and other things
also study general programming and Software Engineering : Desing Parrents, Clean Code , Clean Arquiecture, SOLID principles, Versions systems like a Git.
well that my advice for you, good luck and never stop to learn!
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Our team is now working on a big Swing application. Our job basically focuses on writing extensions to the existing framework. A typical job would be adding a new panel/ or adding a new tab with some extra functionalities that suit our need.
It seems FEST can help a lot in terms of unit-test our code. I am going to try it out this week. But the question here is if there is a way to do automated functional testing on the whole application. In another word, we do not only need to test our code but also the framework. After all, UAT is the most important part.
I am currently considering decompiling the jar files we got into source code then we can identify the components and then use FEST.
So, before I get started to give this approach a shot, I think I just ask for ideas and inspirations here. There must be people who have done similar things before. Would be nice if I could learn from the veterans who fought against this before .
Thanks,
In my view, Functional tests and unit tests are not well serviced by the same framework. For functional testing, I would recommend you look at QFTest, which understands Swing components, so you get a more stable test than a traditional click-and-keyboard playback mechanism, while still being at the functional level.
You could consider ReTest, which is a functional Swing test tool that comes with an interesting approach to regression testing and is packed with AI-based monkey testing.
It is going to be partly open source as well.
Disclaimer: I am the founder of the company creating ReTest.