Skip to content

Html report examples#102

Merged
MehdiK merged 8 commits intoTestStack:examplesfrom
JakeGinnivan:HtmlReportExamples
Apr 10, 2014
Merged

Html report examples#102
MehdiK merged 8 commits intoTestStack:examplesfrom
JakeGinnivan:HtmlReportExamples

Conversation

@JakeGinnivan
Copy link
Member

No description provided.

@JakeGinnivan
Copy link
Member Author

@jason-roberts would be great if you could update your Metro report to do the same thing as this :)

@MehdiK
Copy link
Member

MehdiK commented Apr 9, 2014

We need to merge that work in and then rebase the whole example feature on top of that.

@MehdiK
Copy link
Member

MehdiK commented Apr 9, 2014

Thanks @JakeGinnivan. This is quite exciting :)

I haven't looked at this yet. Will check it out hopefully tomorrow. There are some failing approval tests on CI.

@JakeGinnivan
Copy link
Member Author

😠

image

@jason-roberts
Copy link
Contributor

Yeah I got that, i just copied the received over the approved and it seemed to fix.

Also had the same problem with stacktrace/path in the apporvals, so I created a custom Ex and overrode stack trace to return a constant string instead of an actual stack

@jason-roberts
Copy link
Contributor

@JakeGinnivan sure :) happy to do this once everything stabilized after merge etc ??

@JakeGinnivan
Copy link
Member Author

There is a built in scrubber to fix the path. Checkout how i fixed

Sent from my Windows Phone


From: Jason Robertsmailto:notifications@github.com
Sent: ý10/ý04/ý2014 02:22
To: TestStack/TestStack.BDDfymailto:TestStack.BDDfy@noreply.github.com
Cc: Jake Ginnivanmailto:jake@ginnivan.net
Subject: Re: [TestStack.BDDfy] Html report examples (#102)

Yeah I got that, i just copied the received over the approved and it seemed to fix.

Also had the same problem with stacktrace/path in the apporvals, so I created a custom Ex and overrode stack trace to return a constant string instead of an actual stack


Reply to this email directly or view it on GitHubhttps://github.com//pull/102#issuecomment-40034425.

@MehdiK
Copy link
Member

MehdiK commented Apr 10, 2014

I saw the stack trace scrubber. It's awesome!!

@JakeGinnivan
Copy link
Member Author

Rebased over top of updated example branch (which now has metro html report), and good to merge

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't be needed. I've changed TC settings to convert the line endings to CRLF.

Previous approval tests worked without this.

P.S. somehow all PRs are broken on TC!!!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Master is broken. I changed it to checkout on agent, which ignores that checkbox in teamcity but does not ignore .gitattributes

I think the examples branch is fine?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, all active branches are broken. I will change it back if you don't mind to see if it makes a difference. With that setting we shouldn't really need to ignore approved files, ay?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just changed the setting back to checkout on server and all PRs and master are green again. I think we should take approved out of .gitignore. It's a bit of pain to deal with these as binary.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

K, binary tells git not to normalise line endings on approved. I hate line endings

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried hard to make that work on the first approval test Michael wrote and couldn't do it - somehow TC would completely ignore the .gitattributes (and I had set it to checkout on agent). So I went for CRLF setting and it worked.

P.S. by all gitignore bits above I meant gitattribs :)

@MehdiK MehdiK merged commit b198b2a into TestStack:examples Apr 10, 2014
@JakeGinnivan JakeGinnivan deleted the HtmlReportExamples branch April 14, 2014 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants