Coder Social home page Coder Social logo

Comments (7)

vansari avatar vansari commented on July 18, 2024

Hi @ccsuperstar

This is the class where I did not have enough time for a UnitTest. But as you can see it is very useful to have a test which tests the expected result.

If you can provide some html test results it would be very helpful.

If not it's also okay 😉

from robo-paracept.

ccsuperstar avatar ccsuperstar commented on July 18, 2024

If you use for example these 3 html reports (report_1.html, report_2.html, report_3.html), and you run the merge report command, as it is the first html report that is used to define the suite titles, you will have only the title Acceptance in report.html file
reports.zip

While in the other reports, you have Api, Bdd, etc

So, either you have to use a template, or you have to parse all the reports to have all the suites

from robo-paracept.

vansari avatar vansari commented on July 18, 2024

hi @ccsuperstar

is this the expected report what you want?
(Its manually changed for a preview)
expected_report

from robo-paracept.

ccsuperstar avatar ccsuperstar commented on July 18, 2024

Yes it's the expected report!

from robo-paracept.

reinholdfuereder avatar reinholdfuereder commented on July 18, 2024

I think I might suffer under the same (or very similar) problem:

  • Background:
    • First there is a "serial" Codeception test execution with (a) all (fast) PhpBrowser tests and (b) some (non-parallel-working) WebDriver tests (because they temporarily manipulate something in the DB -- yes, very ugly, but it is as it is; pragmatic colleagues...)
    • Then there are a few "parallel" sets with parallel exeuction of slow WebDriver tests
  • Result:
    • Due to starting with the "serial" HTML report all the "parallel" HTML report results are merged to the first and thus wrong section/suite (but the second suite is there too, because it is part of the first "serial" HTML report too)
    • Screenshot: image
    • Files: merged-html-original-with-bug.zip
  • Expected result:
    • Screenshot (sorry for unfortunately having used a slightly different test set with 2 skipped tests and obviously a new run with different timings):
      image

from robo-paracept.

reinholdfuereder avatar reinholdfuereder commented on July 18, 2024

@vansari My PR #105 fixes my problem and I think this issue here => thanks in advance for reviewing and merging

from robo-paracept.

vansari avatar vansari commented on July 18, 2024

@reinholdfuereder Is it possible that you add a test for your changes?

from robo-paracept.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.