Tools for better thinking.. Found this site https://untools.co/ and this it looks promising.
Collection of thinking tools and frameworks to help you solve problems, make decisions and understand systems.---
Tools for better thinking.. Found this site https://untools.co/ and this it looks promising.
Collection of thinking tools and frameworks to help you solve problems, make decisions and understand systems.---
Use NCover or dotCover you might say. And you would be right.
But for the current project I was looking for a free solution. I started to google the web for a free alternative and found PartCover, OpenCover and this article.
PartCover and OpenCover does noe have any GUI or plugin in Visual Studio, so when I saw that it was possible to use the same window in VS as MSTest I was sold.
Run the following command in the visual studio prompt. (Add the correct paths and dlls for your system)
vsinstr -coverage MyLibrary.dll start vsperfmon -coverage -output:mytestrun.coverage nunit-console.exe /noshadow UnitTests.dll vsperfcmd -shutdownWhats happening here is that we are first adding instrumentation to the dll. Then we are starting the vsperfmon service to listen to whats beeing executed. Execute the test runner and shutdown the vsperfmon service.
The Test coverage is displayed with the information.
I guess the only catch is that you need Team System Tools for this to work.
Off course you need to manually set this up. Hmm maybe I should write a Visual Studio plugin..
using System; using System.Xml; using System.Xml.XPath; namespace XmlTidy { public class Program { private enum ExitCodes { Success = 0, Failure = 1 } private static int Main(string[] args) { if (args.Length == 0) { return ShowUsage(); } var inputFile = args[0]; var outputFile = args.Length == 1 ? args[0] : args[1]; return Tidy(inputFile, outputFile); } private static int ShowUsage() { Console.WriteLine("Usage: XmlTidy <inputfile> <outputfile>"); Console.WriteLine("if <outputfile> is not specified, the <inputfile> is overwritten."); return (int)ExitCodes.Success; } private static int Tidy(string inputFile, string outputFile) { var result = (int)ExitCodes.Success; try { var document = new XPathDocument(inputFile); var settings = new XmlWriterSettings { IndentChars = "\t", Indent = true }; var writer = XmlWriter.Create(outputFile, settings); document.CreateNavigator().WriteSubtree(writer); writer.Close(); } catch (Exception ex) { Console.Error.WriteLine(ex.Message); result = (int)ExitCodes.Failure; } return result; } } }
makecert -r -pe -n "CN=Test" -b 01/01/2010 -e 01/01/2020 -sky exchange Test.cer -sv Test.pvk pvk2pfx.exe -pvk Test.pvk -spc Test.cer -pfx Test.pfxWhen executing the commands above you will be asked for some information like password etc. After you are finished the file Test.pfx includes a self-signed certificate with the a private key.
Dummy SMTP server that sits in the system tray and does not deliver the received messages. The received messages can be quickly viewed, saved and the source/structure inspected. Useful for testing/debugging software that generates email.
Remote Desktop Manager is a small application used to manage all your remote connections and virtual machines. Add, edit, delete, shared, organize and find your remote connection quickly. Compatible with Microsoft Remote Desktop, Terminal Services, VNC, LogMeIn, Team Viewer, Ftp, SSH, Telnet, Dameware, X Window, VMWare, Virtual PC, PC Anywhere, Hyper-V, Citrix, Radmin, Microsoft Remote Assistance, Sun Virtual Box and more.
WinMerge is an Open Source differencing and merging tool for Windows. WinMerge can compare both folders and files, presenting differences in a visual text format that is easy to understand and handle.http://winmerge.org/