Skip to content

AutoTest.NET is based off of autotest which is a popular Ruby tool for running your unit tests as soon as your save your files. This practice gives you immediate feedback and helps facilitate real test driven development. This project was originally started by James Avery at http://code.google.com/p/autotestnet/

License

Notifications You must be signed in to change notification settings

rlarno/AutoTest.Net

 
 

Repository files navigation

(View in WordPad or similar on windows since the file uses Unix line endings)

AutoTest.Net (http://groups.google.com/group/autotestnet)
This product provides continuous testing for the .Net platform. It contains a 
Visual Studio Addin through a windows installer (AutoTest-v*.*.*.exe),
winforms app and a console app.
The Visual Studio Addin will by default start as paused so after opening a
solution click AutoTest.Net->Resume Engine. To have it always run afeter
opening a solution set the StartPaused setting to false and restart the engine.

Features
	* Watch directory or solution file
	* File tracking: Automatic builds and testruns
	* Assembly tracking: Automatic test runs for built assemblies (if 
	  BuildExecutable is removed from config)
		* You can then build through Visual Studio or something similar while
		  still having your tests run automatically
	* Cross platform support through Mono
	* Supports C# and Visual Basic and F# projects
	* Supported build tools
		* MSBuild.exe
		* Mono's xbuild
	* Supported test runners
		* AutoTest.TestRunner (Built in runner) supporting:
			* NUnit
			* XUnit
			* MSTest
			* MSpec
			* MbUnit
		* Native Console runner for NUnit
		* Native Console runner for XUnit
		* Native Console runner for MSpec
		* Native Console runner for MSTest
	* Supports notifications through
		* notify-send (Linux)
		* Snarl through it's tcp interface (Windows)
		* Growl (Mac, Windows)
	* Supports configurable ignore files using the .gitignore format
		* The attribute override="merge" will merge with original
		* The attribute override="exclude" will remove it all together

Geting started
To get started using this application edit AutoTest.config to suite your system.
When done start either the winforms app or the console app. In the winforms 
application the little button in the top rightcorner will display some nice to 
know messages now and then. When set up just edita file within the watched folder 
and save it. AutoTest.Net will detect any changes and start builds and run tests.
If you end up in a scenario where it goes in to an endless loop it's probably
detecting changes in a file generated either by build or testrun. If so use the
ignore posibility in the configuration file. To figure out what files are being
generated turn on logging and check the debug.log file.

Build from source
To build the whole thing from source just clone or fork the repository. If you want
to build AutoTest.Net with Microsoft .Net instead fo mono go to the Settings folder.
In there you will find the UppercuT.config and UppercuTx86.config files. Locate this
line (<property name="microsoft.framework" value="mono-3.5" overwrite="false" />) in
both files and switch from mono-3.5 to net-3.5.

When done go in and run build and deploy scripts (biuld.sh/build.bat and 
deploy.sh/deploy.bat depending on whether you are on Windows(bat) or something else(sh)).
After running build and deploy scripts you will find the built binaries under the 
ReleaseBinaries folder.

Build Visual Studio Addin from source
Go through the steps described in the previous section except for the actual build and
deploy part. Now download Inno Setup and install it to the path specified in package.bat.
After it's installed run package.bat and find the installer in ReleaseBinaries\Installer.

PS!! For building on mono you need 2.8 or later and it uses Git's core.autocrlf=true

About

AutoTest.NET is based off of autotest which is a popular Ruby tool for running your unit tests as soon as your save your files. This practice gives you immediate feedback and helps facilitate real test driven development. This project was originally started by James Avery at http://code.google.com/p/autotestnet/

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 71.9%
  • C# 27.6%
  • Other 0.5%