Can i perform unit tests and other various test on a PHP website2019 Community Moderator ElectionWhat is the difference between integration and unit tests?How can I prevent SQL injection in PHP?Unit Testing C CodeIs Unit Testing worth the effort?How do you unit test private methods?JavaScript unit test tools for TDDWhat is Unit test, Integration Test, Smoke test, Regression Test?Running unittest with typical test directory structureWhat's the difference between unit tests and integration tests?How does PHP 'foreach' actually work?

What does 'acting greedily' mean?

Do authors have to be politically correct in article-writing?

Tcolorbox as an item in list environment

A "strange" unit radio astronomy

Six real numbers so that product of any five is the sixth one

What's the difference between a cart and a wagon?

What type of postprocessing gives the effect of people standing out

In the comics Did Thanos "kill" just sentient beings or all creatures with the snap?

Logistics of a hovering watercraft in a fantasy setting

How to approximate rolls for potions of healing using only d6's?

How to mitigate "bandwagon attacking" from players?

Replacement ford fiesta radiator has extra hose

How do ISS astronauts "get their stripes"?

What is a term for a function that when called repeatedly, has the same effect as calling once?

Why is working on the same position for more than 15 years not a red flag?

How to deny access to SQL Server to certain login over SSMS, but allow over .Net SqlClient Data Provider

Linear regression when Y is bounded and discrete

Real life puzzle: Unknown alphabet or shorthand

Where is the fallacy here?

"Murder!", said the knight

Has the Isbell–Freyd criterion ever been used to check that a category is concretisable?

If nine coins are tossed, what is the probability that the number of heads is even?

How to kill a localhost:8080

Why do members of Congress in committee hearings ask witnesses the same question multiple times?



Can i perform unit tests and other various test on a PHP website



2019 Community Moderator ElectionWhat is the difference between integration and unit tests?How can I prevent SQL injection in PHP?Unit Testing C CodeIs Unit Testing worth the effort?How do you unit test private methods?JavaScript unit test tools for TDDWhat is Unit test, Integration Test, Smoke test, Regression Test?Running unittest with typical test directory structureWhat's the difference between unit tests and integration tests?How does PHP 'foreach' actually work?










-1















So i have a project where the client wants us to build a complete website using PHP and i wanted to know if we could write unit tests and all the other types of test cases for the website. So far what i have seen is that its only possible if your whole site is class based and not just injecting code and creating small functions.










share|improve this question


























    -1















    So i have a project where the client wants us to build a complete website using PHP and i wanted to know if we could write unit tests and all the other types of test cases for the website. So far what i have seen is that its only possible if your whole site is class based and not just injecting code and creating small functions.










    share|improve this question
























      -1












      -1








      -1








      So i have a project where the client wants us to build a complete website using PHP and i wanted to know if we could write unit tests and all the other types of test cases for the website. So far what i have seen is that its only possible if your whole site is class based and not just injecting code and creating small functions.










      share|improve this question














      So i have a project where the client wants us to build a complete website using PHP and i wanted to know if we could write unit tests and all the other types of test cases for the website. So far what i have seen is that its only possible if your whole site is class based and not just injecting code and creating small functions.







      php unit-testing testing integration-testing






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 12 mins ago









      sogyals429sogyals429

      16




      16






















          0






          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55001993%2fcan-i-perform-unit-tests-and-other-various-test-on-a-php-website%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid …


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55001993%2fcan-i-perform-unit-tests-and-other-various-test-on-a-php-website%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          這個網誌中的熱門文章

          Runtime problems in TestNG asserts2019 Community Moderator ElectionHow do you assert that a certain exception is thrown in JUnit 4 tests?differences between 2 JUnit Assert classesHow do I use Assert to verify that an exception has been thrown?Best practice for Python assertWhat is the “assert” function?What does the Java assert keyword do, and when should it be used?What is the use of “assert” in Python?PHPUnit assert that an exception was thrown?What is “assert” in JavaScript?Asserting in testng using containing

          (unchecked) unchecked cast required: OnSuccessListener found: Uri2019 Community Moderator ElectionHow do I address unchecked cast warnings?Android AlarmManager for periodical sensor readingWhy don't Java's +=, -=, *=, /= compound assignment operators require casting?I am trying to set alarm on specific time using alarm manager but alarm initiated instantly?setText on button from another activity androidget around of error 'can not resolve symbol'Saving ToggleButton state in ListView by using SharedPreferencesAdding Social Media Share Logic From Firebase in Androidjava.lang.NullPointerException when invoking onLoadFinished()Search Firestore query don't show data in RecycleView

          1