DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

CI and UI testing

Sort:
You are not authorized to post a reply.





Growing Member





    Copy from SLACK EAG group:

    Sitting in the car back home I have been reading the documentation of testcafe (from DevExpress) on my mobile. A node.js tool to automate
    end-to-end web testing. 
    https://devexpress.github.io/testcafe
    Interesting. Free and open source,  js & typescript, integrated testing and reporting, ui or headless browsers, can integrate with MS devops pipelines, active development, regular new releases.
    devexpress.github.io
    A node.js tool to automate end-to-end web testing | TestCafe
    Use TestCafe to write tests in JS or TypeScript, run them and view results. TestCafe runs on Windows, MacOS, and Linux and takes 1 minute to set up.
    8 replies

    bdukes  [19 hours ago]
    https://www.cypress.io/oss-plan is the other big name in that space
    JavaScript End to End Testing Framework | cypress.io
    Open Source Plan
    Fast, easy and reliable testing for anything that runs in a browser. Install Cypress in seconds and take the pain out of front-end testing.

    EPT  [15 hours ago]
    Do you have any experience and/or preference of we want to choose?

    bdukes  [15 hours ago]
    no, I haven't investigated either enough to have a strong opinion

    David Poindexter  [15 hours ago]
    Interesting - I’m going to look deeper into both of these

    EPT  [14 hours ago]
    Me too.  @David Poindexter Let's keep in contact about this. I know that @Timo Breumelhof is interested too.

    David Poindexter  [14 hours ago]
    Will do - @Vicenç Masanas and @Timo Breumelhof are working to organize testing efforts.

    EPT  [3 hours ago]
    There is an article from a year back that compares the 2 (testcafe, cypress):
    https://medium.com/yld-en...testing-fcd0303d2103
    Medium
    Evaluating Cypress and TestCafe for end to end testing
    Two frameworks have appeared on the scene recently eschewing the long held belief that end to end testing of web applications means…

    EPT  [3 hours ago]
    And a more recent one:
    https://xebia.com/blog/cy...comparison-part-one/ 
    and
    https://xebia.com/blog/cy...comparison-part-two/ 






    Veteran Member





      In addition:
      1. Timo and Peter (Donker) gave a demo of Puppeteer on DNN Connect
      2. Jan Jonas gave a demo of Testcafe. Knowing Jan, he made a comparison of tools as well and we're curious to hear/read what his thoughts are.
      Tjep's digital agencyRegards,
      Tycho de Waard

      Tjep's digital agency
      We just love DNN
      https://www.tjeps.com





      Growing Member





        ATM I have a preference for TestCafe, but we will create experiments to see if my preference holds.






        New Around Here





          Although this topic is more for the tech group, I'll elaborate on it here. There is an apples vs oranges thing going on here.

          It appears to me that TestCafe *without* TestCafe Studio is very much like Puppeteer. TestCafe Studio looks like a very good choice. But it's not free by a long shot. The real benefit of using TestCafe Studio is in the creation and manipulation of tests. That is very powerful.





          Growing Member





            AFAICS, TestCafe has test rules build in, whereas I understood from your DNNConnect session that puppeteer does not.

            To create scripts is is indeed the best option if you have the Testafe studio (about $300), but to run and/or change the scripts, TestCafe studio is not a requirement.






            New Around Here





              Yes, you are right on both accounts. However, adding the actual "test logic" around puppeteer seems to be a mere formality with zero investment or weirdness. As to TestCafe studio: someone would then need to fork out the $ and create those tests.

              Anyway. It is one of the many test options we have and we should put this on a big Excel or something.





              New Around Here





                Knowing now that TestCafe is a new open-source end-to-end web application testing system based on Node.js, can I test the performance of enterprise computers with different operating systems? A friend of mine at his small company uses testing of employees' office equipment with different operating systems from https://www.zaptest.com/ui-testing-automation. As a rule, tests are code written once, but we often return to this code to analyze failures of the application being developed. Suppose the main purpose of the test code is to detect problems. In that case, two requirements arise: the test should perform exactly one scenario of actions, and this scenario should be easily understandable from the test code. It should be able to quickly localize the stage of the scenario where the problem occurred.

                You are not authorized to post a reply.

                These Forums are dedicated to the discussion of DNN Platform.

                For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

                1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
                2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
                3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
                4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
                5. No Flaming or Trolling.
                6. No Profanity, Racism, or Prejudice.
                7. Site Moderators have the final word on approving / removing a thread or post or comment.
                8. English language posting only, please.

                Would you like to help us?

                Awesome! Simply post in the forums using the link below and we'll get you started.

                Get Involved