Hi There I am part of a small team and all of us are new. In the process of developing a new app, we need an alternative to manual testing of the different branches in Git. By now we test manualy the deployed project on a host. Unit testing is not an option because of our inexperience with testing at all. What alternative to manual and unit testing would you recommend?
Thanks in advance!
@dv33 There is no alternative. If you don’t want to spend time manually testing, then spend the time actually learning how to write unit tests instead of going, “We don’t know it.”
Sure, you may not know it_now_, but you can change that.
Also, a unit test can run much faster than you ever can. Do you want to spend ~1 minute filling out forms, checking your database multiple times a day to “test” you app? Or would you rather have something that could do the same and tell you the results in a few milliseconds?
Thank you for the answers. The main theme of the question is whether using localhost is the only option to manually test the different branches of a project stored in github? This came from the fact that we have only one free host for development.
@DV33 but still test things for real also. I am not going to program (just example here) a python program that lays out a square to round and just assert it worked.
I am going to actually use the program (testing) to layout two, even perhaps 4 or 5 different ones and actually form them, measure with a ruler and make sure the code and math was correct.
Edit:
Remember, you could have a test written wrong, may pass, but the actual code has an error.
I would never turn loose a business application without real World test as well.
However I am not saying do not do some of the other test as well. Much testing in fact helps find areas to refactor your code.
test locally the things that each developer is working on . You can retest on your server once you have merged branches. Having tests will speed up the process at every stage and reassure your colleagues that they have not inadvertently broken something that they have not been working on