NUnit: Can I get HTML report instead of XML? - nunit

NUnit 3.0.
I use such code in my application for test running:
string directoryName = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
string[] nunitArgs = new List<string>
{
// for details of options see http://www.nunit.com/index.php?p=nunitliteOptions&r=3.0
"--verbose",
"--work=" + directoryName // save TestResults.xml to the build folder
}.ToArray();
new NUnitLite.Runner.TextUI().Execute(nunitArgs);
I get output report in the XML format, but I need HTML. Here I see - only XML can be used as output report format. Perhaps I incorrect understood the documentation? I can write XSLT for this XML, but I will do it only if I be sure to get HTML result impossible for NUnit.

Bush
NUnitOrange seems to be working with the latest version of XML (NUnit 3.0). Sorry for posting an answer, I am unable to leave a comment. Thanks to you and Michal for sharing the links.
This comment by the dev also: http://relevantcodes.com/nunit-orange-nunit-html-report-generator/#comment-185530. Seems to be in beta but it works great for me.

I am pretty sure HTML output is not natively supported by NUnit. Also, you will probably don't have to implement your XSLT from scratch, there appear to be tools for that purpose already.

It works: http://relevantcodes.com/nunit-orange-nunit-html-report-generator/
It successfully generated HTML report from the XML.

Related

SSRS 2008 rendering of HTML markup (does not allow .xml links)

I am trying to create links to infopath forms stored in sharepoint. This is MOSS 3 so they are not web based forms. If I create a link through HTML markup within a placeholder it renders fine until I make it a .xml extension. I'm using HTML markup because they need to display in Outlook 2007 too. Am I missing some way to make this work?
=" test "
^works fine
=" test "
^doesn't appear
The solution is:
Drop the space between ...Form and &...
I've copied your xml url and in SSRS 2008R2 works fine (Can't test it in SSRS 2008).
Maybe you should try to use Action->Go To Url instead of HTML murkup?
Just to update my issue here as it was more complicated then I thought. Here's a reference to the issue. It has nothing to with xml links or spacing. It's actually working links that it fails to render, incorrect links to error pages work fine. (confusing? I know, right?) The javascript solution didn't work for me b/c I need it to work with Outlook 2007. What finally worked was reversing the slashes e.g.
http:\\sharepoint

Is there a way to import HTML into JavaHelp?

I'm trying to automate JavaHelp generation from a book (HTML) already on the web to bundle as a NetBeans module. Is there a way to automate the conversion into JavaHelp format?
How are you writing your book? If you're using DocBook then you can generate JavaHelp directly from it.
It appears that you can use JHelpDev to create Java Help sets from existing HTML. It looks pretty simple to use but I can't attest to it's quality.

How to get SelBlocks Selenium IDE extension to find XML file?

Hopefully, Chris Noe, is in the house...
Selblocks is an extension for Selenium IDE that provides control-flow constructs such as if/then/else, looping and subroutines.
I'm trying to give interation over an XML file a whirl and am running into an error. It seems it can't find the XML file. The XML file is co-located with my Sel scripts. Please see the screenshot attached.
Is there a source for more documentation or examples? Like the sample test suite you have a picture of on the extension page?
Thanks,
Cameron
http://cl.ly/AzzT
I ran into the same issue, and the problem turned out to be that my XML was invalid. In my case it was because one of the parameters I was using was a url containing ampersands. Changing & to & fixed the problem for me, and the variables loaded perfectly.

iPhone HTML Parsing using TouchXML and tidy

I'm trying to parse HTML using TouchXML. However, it seems that the data I want to parse (I do not control the source, it's downloaded from the internet) is partially malformed - I get various errors during the parse. Therefore, it seems that I should be using the inbuilt tidy support to fix the HTML but I cannot seem to find any documentation or information on how to enable it or link libtidy successfully into my project.
If anyone has any information on how to do this, it'd be much appreciated. Alternatively if there's another tool I could be using to do this - do tell me!
Actually, you can both link to the framework and include the headers, without needing to download the source.
Link to the existing framework libtidy.dylib
Add /usr/include/tidy to HEADER_SEARCH_PATHS
Turns out that although the framework can be linked in to an xcode project, the headers are missing. I have got around this by downloading the HTML Tidy Source (src and include directory) and added them in to compile as part of my xcode project.

Can Crystal Reports generate documents in PDF/A file format?

We are looking for a solution to generate documents in PDF/A format for sharing and also archiving purpose.
I checked the description of ExportFormatType.PortableDocFormat, however it just say PDF file.
Can the Crystal Reports generate PDF/A compatible files?
I don't think you export directly to PDF/A. Instead, I recommend using Crystal to export to PDF, then find a third-party software to convert your PDF to PDF/A. It takes 1 extra step, but it will meet your needs.
I googled a bit and found http://www.abbyyusa.com/shop/pdftransformer/. I know nothing about this software, I'm just presenting it as an example. It costs 80USD, but you might be able to find a freeware alternative.
http://www.pdfa.org/doku.php is the offical homepage of PDF/A. You might find something useful there too.
According to this SAP community thread from a few days ago, it can't be done natively, although there was a third-party component mentioned there. I haven't tried it, so I have no idea if it works or not.