Coder Social home page Coder Social logo

Comments (7)

kingsleyh avatar kingsleyh commented on September 28, 2024

Hi

Where it says testcaseId in the URL it should have the name of the feature - looks like it's not picked up the right feature name - not sure what's going on exactly.

Sent from my iPhone

On 7 Feb 2014, at 12:47, grifft [email protected] wrote:

Firstly, thanks for your cool plug in.

I am having a problem using it on windows 7 however. The same plugin seems to work find on ubuntu.

I have tried parsing the json report on your online parser and that is also fine.

So when the project builds, I get no error message;

[CucumberReportPublisher] Compiling Cucumber Html Reports ...
[CucumberReportPublisher] detected this build is running on the master
[CucumberReportPublisher] copying json to reports directory: C:\Jenkins\jobs\test_melbourne_mainline_uk1w7d-104567\builds\2014-02-07_10-25-50\cucumber-html-reports
[CucumberReportPublisher] Generating HTML reports

So it all looks fine. But not all the html reports are generated.

So the features-overview html just contains the following message. And it's correct: that html file doesn't exist.

java.io.FileNotFoundException: C:\Jenkins\jobs\run_cuke_tests\builds\2014-02-07_11-43-19\cucumber-html-reports\TestCaseId("FUN-WATCH-GRIFF-STUB-001").html (The filename, directory name, or volume label syntax is incorrect)

Do you have any ideas how to see where the html generation is failing?


Reply to this email directly or view it on GitHub.

from cucumber-reporting.

grifft avatar grifft commented on September 28, 2024

That was quick Kingsley :-).

Is there any other things for me to do other than play around with the feature names?

As I said, these same json reports are working fine when jenkins is running on an ubuntu box, it's just my win7 box showing this problem.

from cucumber-reporting.

kingsleyh avatar kingsleyh commented on September 28, 2024

Hi

I'll have to investigate a bit - it might be a bug related to paths. Do any of the feature files get generated?

Sent from my iPhone

On 7 Feb 2014, at 13:43, grifft [email protected] wrote:

That was quick Kingsley :-).

Is there any other things for me to do other than play around with the feature names?

As I said, these same json reports are working fine when jenkins is running on an ubuntu box, it's just my win7 box showing this problem.


Reply to this email directly or view it on GitHub.

from cucumber-reporting.

grifft avatar grifft commented on September 28, 2024

yes, stub.feature and unit_test_dateTime.featuer html files both get created fine

from cucumber-reporting.

kingsleyh avatar kingsleyh commented on September 28, 2024

What's the expected name of the one that doesn't get created

Sent from my iPhone

On 7 Feb 2014, at 14:15, grifft [email protected] wrote:

yes, stub.feature and unit_test_dateTime.featuer html files both get created fine


Reply to this email directly or view it on GitHub.

from cucumber-reporting.

grifft avatar grifft commented on September 28, 2024

TestCaseId("FUN-WATCH-GRIFF-STUB-001").html and TestCaseId("FUN-WATCH-UNITTEST-1").html are the two files that I'm expected to be created but aren't.

I suspect it's something to do with having " in the filename?

from cucumber-reporting.

grifft avatar grifft commented on September 28, 2024

Yep, that's it! If I take the " out of the test case Id then it works :-) Thanks for your help.

from cucumber-reporting.

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.