Skip to content

Instantly share code, notes, and snippets.

@maxkoryukov
maxkoryukov / python.unittest.cases_test.py
Last active February 3, 2016 23:29
Generates tests for python's unittest module (native mod couldn't generate them in easy way). Works good with unittest and nosetests
# ----------------------------------
# USAGE
# ----------------------------------
from unittest import TestCase
from testargs import TestArgs
class SampleTest(TestCase):
@TestArgs(
(None),
@maxkoryukov
maxkoryukov / AssemblyInfoPatchVersion.ps1
Last active January 16, 2016 02:55
Powershell script to batch-update AssemblyInfo.cs with new Version
# from http://blogs.msdn.com/b/dotnetinterop/archive/2008/04/21/powershell-script-to-batch-update-assemblyinfo-cs-with-new-version.aspx
#
# SetVersion.ps1
#
# Set the version in all the AssemblyInfo.cs or AssemblyInfo.vb files in any subdirectory.
#
# usage:
# from cmd.exe:
# powershell.exe SetVersion.ps1 2.8.3.0
#