New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some exceptions don't get indicator/link in tables #153
Comments
Confirmed |
This is fixed with the merge of #217 |
While the #217 changes bring some nice innovations (I like the exceptions being reported immediately after the corresponding fixture row), currently I find the following flaws:
Are the given issues know (I'll search the issue list later) and is there a plan to address them further? |
I'll check out issue 2. Technically there should be only one message. Regarding issue 3: I think we missed something in the "big slim test system refactoring". Issue 1: I think we should also have a look at failed scenarios here. |
I fixed issue 3. |
Yep, I've tried it also - the stack traces are there. Thank you very much. :-) |
I think issue 2 is not appearing. There can be only one error registered per row, which will be displayed. |
I've fixed 2 for me like:
I still miss the old hyper-linking and I think the current solution could be combined with the old behavior, but we could address this in a separate enhancement request. One can see all exceptions without this patch by turning off author styles in the browser (e.g. View -> Page Style -> No Style, in Firefox), or just explore the DOM with whatever tool available. |
To elaborate on issue 2:
|
Hi, I think I nailed the error navigator as well. |
I thought... Your comments just popped up. I'll check. Fix looks nice, though :) |
Just saw the comment on the click handler: "Scenario's and Exceptions" - the fix seems to miss/break the scenarios. The changed selector should be extended to match those as well. |
Updated patch for issue 2:
|
Works like a charm. But wouldn't it be nicer if all exceptions are put in the same table row? |
I pushed it in b78d5f3. I used to page FitNesse.UserGuide.SliM.DecisionTable to place the example on (need some browser testing to test it). |
Yes, I think it is perfectly valid solution, too. |
Using Edge build #325 which includes 2122fbe, I still get confusing results, but I think is not really possible to match exact wrong/exceptions counts with the test output error indicators count. Looking at it some more I think the "Failure Navigator" could really count/navigate only through table rows which contain error(s), without going through individual error cells. But that would be a change others should accept/comment on, also. |
I am not sure what should happen with a Table table where each cell may get different behavior. Best Markus Dipl.-Inform. Markus Gärtner http://www.shino.de/blog On 13.04.2013, at 08:58, Stanimir Stamenkov notifications@github.com wrote:
|
If you happen to comment on my suggestion the "Failure Navigator" should only care about going through table rows, my rationale is: Even currently it doesn't become obvious which error cell is focused by the navigator (at least with the bootstrap theme). Navigating through number of error cells in a single row doesn't have any visual indication (apart from the dubious error number in the navigator) - no scrolling, and after all I think the biggest strength and purpose of the "Failure Navigator" is to find failures in a long test run easily. That is, once you've been taken to the error row - you could "parse" the rest on your own. But that's just my opinion. :-) |
In any case, the original issue is fixed. Anything else related to the "Failure Navigator" should be addressed separately. Sorry for keeping this so long. |
Spun off #150:
May be (just may be) solving this would make more obvious which of the two exception increasing statements mentioned in #150 further, is superfluous.
The text was updated successfully, but these errors were encountered: