Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

DV33's avatar
Level 2

Testing Laravel Application

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!

0 likes
5 replies
tisuchi's avatar

@dv33 What other alternative option you are looking for?

Possible there are two options:

  • Manual Test
  • Automated Test.

So far, there is no other way!

2 likes
martinbean's avatar

@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?

2 likes
DV33's avatar
Level 2

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.

1 like
jlrdw's avatar

@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.

2 likes
Snapey's avatar

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

2 likes

Please or to participate in this conversation.