unit, integration, system tests for Codeblocks IDE - testing

I recently was given control of a project that is based on the Codeblocks IDE. This project consists of large make scripts, gcc for motorola microcontrollers, and example C programs. The code is under subversion source-control, but there are no test scripts.
I am wondering what the best test package for windows based software is. I would like the ability to launch the software, open a project and compile. Then I would look in the output directory for specific files, binaries, etc. I have the ability to provision a dedicated VM to this task.
I'm wondering if there's a better way for testing than fully launching the IDE and clicking through menus.
I wish this project was assembled with Test-driven development in mind, but now I'm being forced to add in test afterwards.
Thanks for any advice u might have

IMO, you need Microsoft Visual Studio 2010 bundle.
Microsoft Test Manager 2010 for test case/test script/defect tracing management system, even more, you could use it as testing environment management system, including virtual machine(Hyper-V).
And you could also use the Visual Studio as the team project management tool, it has some build-in template for different agile project type.
You could get more information from MSDN.
You should get a try at this bundle,

I am looking into tools such as eggPlant. Unfortunatly this tool costs $6000. I cannot afford this right now so I am still not sure of the answer. Thanks for your input tho.

Related

What is the Visual Studio Project setting to prevent an application from launching after a build or rebuild?

I have a home grown project (https://github.com/andybantly/MFC-Fractal) that I have been working on since the Visual Studio 2005/2008 days. I just recently put it in Git. Its home is on CodeProject.
I am not sure when this started (maybe 10 years ago...) but when I migrated my application to the latest version of Visual Studio, new/odd behavior injected itself into the code generation step. The IDE has somehow decided that when I build the source that I really wanted to build and run the source. This is somewhat annoying, especially during a batch rebuild all.
I am looking for helpful suggestions on configuring the IDE to prevent this behavior. It never used to do this out of the box.
Is it a show stopper? Absolutely not. Is it annoying? Depends on the side of bed I woke up on.

How do I build an Adobe AIR application using Visual Studio Team Services

I have a client with an application that is written in MXML and ActionScript 3 and is deployed as a desktop app using Adobe AIR. The client would like me to implement automated builds and releases for this application and currently uses Visual Studio Team Services as their build and release management platform. My question is, what is the best way to use Visual Studio Team Services (VSTS) to build an Adobe AIR application?
I am familiar with the amxmlc tool for building AIR applications using the command line but this relies on Java and I cannot find any documentation on how to run a Java-based tool from within VSTS. Any assistance on this matter would be appreciated.
I understand that Adobe AIR is an older technology but for reasons that are beyond the scope of this question the client does not want to rewrite the application in newer technology at this time.
In addition, alternative build and deployment platforms are out of the question. I have experience doing something similar using Jenkins however the client would like to stick with VSTS.
Please let me know if you require any additional information to help answer my question. Thanks in advance.
You can setup a private build agent on a machine (can be on your local machine) that have requirement software installed (e.g. JDK, JRE). Deploy an agent on Windows
You can build the AIR application via amxmlc tool, so you can add Command Line task to call amxmlc tool to build your project.

How do I create a package of my application in VB.net which can run on other's systems too?

I made an application in Visual Studio 2012 using VB.net language.
I want to make a package or a setup so that any user whether they have visual studios or not can run my application.
I searched on internet and what I found is that there is something like statically or dynamically linking. Do these relate to my question?
Please give me a step by step method of packaging so that my application can run on Windows without needing Visual Studio or any other program to run it.
You will find it in the menu under Build -> Publish.
This will produce an executable that can be run without Visual Studio. The .NET Framework has to be installed on the computer though, but that usually is.

Wix project template for Visual Studio Express versions?

Is it possible to use Wix with Express editions? I am interested in 2010/2012 versions. I know I can use candle and light from the command line, but I am interested in integration with IDE
The Express versions of VS does not allow to extend the VS with the necessary plug-ins. So you have to stay with the command line.
Alternatively to VS you could try WiXEdit.
Actually, if the goal is to have a free installer suite, WiX is perfectly happy installing into Visual Studio Shell Integrated, which is freely available. All features of WiX are available.
The only limitation is you have to open a different instance of Visual Studio in order to build your installer, but I haven't found this to be limiting in the slightest, and in fact I appreciate the separation of concerns.
Of course, another solution these days is to simply use VS Community Edition.

Can Visual Studio Express run from USB drive?

Using an arbitrary Windows machine (2000/XP or later), I can
install Eclipse CDT to a USB drive
move that USB drive onto a different
Windows machine--one that does not
have any form of Eclipse software
already installed, and potentially a different version of Windows (but 2000/XP or later)
use Eclipse to develop application-level C/C++ programs on that second machine (and that includes using the debugger), running directly from the USB drive without copying anything to C:.
I can do all this without having Administrator privileges on either machine.
I can do the same with NetBeans, and with several other IDEs that support C/C++ development.
Is it possible to do this with any version of Visual Studio Express?
If not, can you explain the technical reason(s) this doesn't work?
Eclipse is apparently designed to be what Microsoft calls an XCOPY deployment...meaning that it doesn't require any special entries in the Windows Registry (or any other "installation identity" on the target machine) in order to work properly.
Visual Studio is most decidedly not designed like this. It makes extensive modifications to the registry during installation, and those entries (and any other resources like special folder locations) will be missing on any other computer.
So you might be able to install Visual Studio on a thumb drive, but some artifacts of the installation will be put on the C: drive, and you will only be able to use the thumb drive with that machine.
Maybe you could install VS Express in a VM running from the USB drive using Portable VirtualBox or VMPlayer. Not the best performance but its usable for not too big projects or learning.
It can definitely be done! I've seen a technician with a copy of it on a USB stick. the only visible flaw was that when you run on a different PC it requires you to enter the license. I could not see any other problems (speed/debugger etc. it all worked on his copy).
check this out:
http://technet.microsoft.com/en-us/appvirtualization/dd334515.aspx
I believe the virtualized package I saw was made by this means:
http://spoon.net/Studio/
Unfortunately it would be matter of experimenting with it...
No VM or extra software was needed!