uppercutbuild 1.0.2.0.20100810 → 1.0.3.0.20100818
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/docs/README +8 -0
- data/lib/build/UppercuT.xml +1 -1
- data/lib/build/analyzers/storevil.test.step +174 -0
- data/lib/build/compile.step +2 -2
- data/lib/build/package.step +4 -2
- data/lib/build/uppercut.dll +0 -0
- data/lib/build/uppercut.tasks.dll +0 -0
- data/lib/lib/MoMA/Definitions/2.6-defs.zip +0 -0
- data/lib/lib/MoMA/Reports/Media/moma.js +9 -9
- data/lib/settings/UppercuT.config +1 -0
- metadata +7 -5
data/docs/README
CHANGED
@@ -55,6 +55,14 @@ Donations Accepted - If you enjoy using this product or it has saved you time an
|
|
55
55
|
It helps keep to the product updated, pays for site hosting, etc. https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4410250
|
56
56
|
|
57
57
|
# RELEASE NOTES
|
58
|
+
=1.1.x.x=
|
59
|
+
* Adding in support for xUnit.
|
60
|
+
* Adding in support for StorEvil.
|
61
|
+
|
62
|
+
=1.0.3.0=
|
63
|
+
* Fixed a bug with path to solution no longer being respected at v1 after Linux patch. (361)
|
64
|
+
* Upgraded Mono Migration Analyzer to v2.6 (360)
|
65
|
+
|
58
66
|
=1.0.2.0=
|
59
67
|
* Default versioning follows the old scheme. Semantic versioning is accomplished by adding this to your config file: <property name="version.use_semanticversioning" value="true" overwrite="false" /> (r357)
|
60
68
|
* Gem building failure will not fail the build. (r357)
|
data/lib/build/UppercuT.xml
CHANGED
@@ -0,0 +1,174 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" ?>
|
2
|
+
<project name="StorEvilTester" default="go">
|
3
|
+
<!-- Project UppercuT - http://projectuppercut.org -->
|
4
|
+
<!-- DO NOT EDIT THIS FILE - This follows a convention for testing with Integration tests being separated from Unit tests - find out more at http://uppercut.pbwiki.com -->
|
5
|
+
<property name="build.config.settings" value="__NONE__" overwrite="false" />
|
6
|
+
<include buildfile="${build.config.settings}" if="${file::exists(build.config.settings)}" />
|
7
|
+
<property name="path.separator" value="${string::trim(path::combine(' ', ' '))}" />
|
8
|
+
<include buildfile="..${path.separator}csharp.functions" />
|
9
|
+
<property name="file.current.no_extension" value="storevil.test" />
|
10
|
+
<property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
|
11
|
+
<property name="path.to.toplevel" value="..${path.separator}.." />
|
12
|
+
<property name="folder.build_scripts" value="build" overwrite="false" />
|
13
|
+
<property name="folder.build_scripts_custom" value="build.custom" overwrite="false" />
|
14
|
+
<property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
|
15
|
+
<property name="folder.code_build" value="build_output" overwrite="false" />
|
16
|
+
<property name="dirs.build" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.code_build}" />
|
17
|
+
<property name="folder.app.drop" value="${project.name}" overwrite="false" />
|
18
|
+
<property name="dirs.build.code" value="${dirs.build}${path.separator}${folder.app.drop}" overwrite="false" />
|
19
|
+
<property name="folder.references" value="lib" overwrite="false" />
|
20
|
+
<property name="dirs.lib" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.references}" overwrite="false" />
|
21
|
+
<property name="microsoft.framework" value="net-3.5" overwrite="false" />
|
22
|
+
<property name="folder.build_artifacts" value="build_artifacts" overwrite="false" />
|
23
|
+
<property name="dirs.build_artifacts" value="${path::get-full-path(dirs.build)}${path.separator}${folder.build_artifacts}" />
|
24
|
+
<property name="dirs.test_results" value="${dirs.build_artifacts}${path.separator}storevil" overwrite="false" />
|
25
|
+
<property name="file.test_results" value="index" overwrite="false" />
|
26
|
+
<property name="tests.excluded_categories.comma_separated" value="Database,Integration,Slow,NotWorking,Ignore,database,integration,slow,notworking,ignore" overwrite="false" />
|
27
|
+
<property name="test.args" value="/xml="${dirs.test_results}${path.separator}nunit-results.xml" /nologo /framework=${microsoft.framework}" />
|
28
|
+
<property name="test.args.exclude" value="/exclude="${tests.excluded_categories.comma_separated}"" />
|
29
|
+
<property name="app.storevil.console" value="${path::get-full-path(dirs.lib)}${path.separator}StorEvil${path.separator}StorEvil.exe" overwrite="false" />
|
30
|
+
<property name="dlls.test" value="" />
|
31
|
+
<property name="tests.ran" value="false" />
|
32
|
+
<property name="file.custom.step.before" value="${dirs.build_scripts_custom}${path.separator}${file.current.no_extension}.pre.step" />
|
33
|
+
<property name="file.custom.step.after" value="${dirs.build_scripts_custom}${path.separator}${file.current.no_extension}.post.step" />
|
34
|
+
<property name="file.custom.step.replace" value="${dirs.build_scripts_custom}${path.separator}${file.current.no_extension}.replace.step" />
|
35
|
+
<property name="is.replaced" value="false" />
|
36
|
+
<property name="fail.build.on.error" value="true" />
|
37
|
+
|
38
|
+
<target name="go" depends="run_tasks" />
|
39
|
+
|
40
|
+
<target name="run_all_tests" depends="prepare, set_storevil_failure_mode, get_spec_dlls_all, run_tests, generate_report" description="Like go but runs all tests" />
|
41
|
+
|
42
|
+
<target name="run_tasks">
|
43
|
+
<echo message="Running ${project::get-name()} tasks." />
|
44
|
+
<call target="prepare" if="${target::exists('prepare')}" />
|
45
|
+
<call target="custom_tasks_before" if="${target::exists('custom_tasks_before')}" />
|
46
|
+
<call target="custom_tasks_replace" if="${target::exists('custom_tasks_replace')}" />
|
47
|
+
<call target="run_normal_tasks" if="${not is.replaced}" />
|
48
|
+
<call target="custom_tasks_after" if="${target::exists('custom_tasks_after')}" />
|
49
|
+
</target>
|
50
|
+
|
51
|
+
<target name="run_normal_tasks"
|
52
|
+
depends="set_storevil_failure_mode, get_spec_dlls, run_tests, generate_report"
|
53
|
+
description="Testing with StorEvil." />
|
54
|
+
|
55
|
+
<target name="custom_tasks_before">
|
56
|
+
<echo message="Running custom tasks if ${file.custom.step.before} exists." />
|
57
|
+
<nant buildfile="${file.custom.step.before}" inheritall="true" if="${file::exists(file.custom.step.before)}" failonerror="${fail.build.on.error}" />
|
58
|
+
<exec program="powershell.exe" if="${file::exists(file.custom.step.before + '.ps1')}" failonerror="${fail.build.on.error}">
|
59
|
+
<arg value="${path::get-full-path(file.custom.step.before + '.ps1')}" />
|
60
|
+
</exec>
|
61
|
+
<exec program="ruby.exe" if="${file::exists(file.custom.step.before + '.rb')}" failonerror="${fail.build.on.error}">
|
62
|
+
<arg value="${path::get-full-path(file.custom.step.before + '.rb')}" />
|
63
|
+
</exec>
|
64
|
+
</target>
|
65
|
+
|
66
|
+
<target name="custom_tasks_replace">
|
67
|
+
<echo message="Running custom tasks instead of normal tasks if ${file.custom.step.replace} exists." />
|
68
|
+
<property name="is.replaced" value="true" if="${file::exists(file.custom.step.replace)}" />
|
69
|
+
<nant buildfile="${file.custom.step.replace}" inheritall="true" if="${file::exists(file.custom.step.replace)}" failonerror="${fail.build.on.error}" />
|
70
|
+
<property name="is.replaced" value="true" if="${file::exists(file.custom.step.replace + '.ps1')}" />
|
71
|
+
<exec program="powershell.exe" if="${file::exists(file.custom.step.replace + '.ps1')}" failonerror="${fail.build.on.error}" >
|
72
|
+
<arg value="${path::get-full-path(file.custom.step.replace + '.ps1')}" />
|
73
|
+
</exec>
|
74
|
+
<property name="is.replaced" value="true" if="${file::exists(file.custom.step.replace + '.rb')}" />
|
75
|
+
<exec program="ruby.exe" if="${file::exists(file.custom.step.replace + '.rb')}" failonerror="${fail.build.on.error}" >
|
76
|
+
<arg value="${path::get-full-path(file.custom.step.replace + '.rb')}" />
|
77
|
+
</exec>
|
78
|
+
</target>
|
79
|
+
|
80
|
+
<target name="prepare">
|
81
|
+
<echo message="Removing and adding ${dirs.test_results}."/>
|
82
|
+
<delete dir="${dirs.test_results}" failonerror="false" />
|
83
|
+
<mkdir dir="${dirs.test_results}" />
|
84
|
+
</target>
|
85
|
+
|
86
|
+
<target name="set_storevil_failure_mode">
|
87
|
+
<property name="nant.onfailure" value="generate_report" />
|
88
|
+
</target>
|
89
|
+
|
90
|
+
<target name="get_spec_dlls">
|
91
|
+
<echo message="Getting spec dlls based on name in directory ${path::get-full-path(dirs.build.code)}." />
|
92
|
+
<property name="dll.names" value="" />
|
93
|
+
<foreach item="File" property="dll.filename">
|
94
|
+
<in>
|
95
|
+
<items>
|
96
|
+
<include name="${dirs.build.code}${path.separator}*Spec*dll" />
|
97
|
+
</items>
|
98
|
+
</in>
|
99
|
+
<do>
|
100
|
+
<property name="dll.names" value="${dll.names + ' ' + string::replace(string::replace(dll.filename,path::get-full-path(dirs.build.code) + '\',''),'\',path.separator) + ''}" />
|
101
|
+
</do>
|
102
|
+
</foreach>
|
103
|
+
|
104
|
+
<property name="dlls.test" value="${dll.names}" />
|
105
|
+
<echo message="Running StorEvil against these spec dlls - ${dlls.test}." />
|
106
|
+
|
107
|
+
<property name="args.test_runner" value="${dlls.test} ${test.args} ${test.args.exclude}" />
|
108
|
+
</target>
|
109
|
+
|
110
|
+
<target name="get_spec_dlls_all">
|
111
|
+
<echo message="Getting all spec dlls (including integration tests) based on name in directory ${path::get-full-path(dirs.build.code)}." />
|
112
|
+
<property name="dll.names" value="" />
|
113
|
+
<foreach item="File" property="dll.filename">
|
114
|
+
<in>
|
115
|
+
<items>
|
116
|
+
<include name="${dirs.build.code}${path.separator}*Spec*dll" />
|
117
|
+
</items>
|
118
|
+
</in>
|
119
|
+
<do>
|
120
|
+
<property name="dll.names" value="${dll.names + ' ' + string::replace(string::replace(dll.filename,path::get-full-path(dirs.build.code) + '\',''),'\',path.separator) + ''}" />
|
121
|
+
</do>
|
122
|
+
</foreach>
|
123
|
+
|
124
|
+
<property name="dlls.test" value="${dll.names}" />
|
125
|
+
<echo message="Running StoreEvil against these spec dlls - ${dlls.test}." />
|
126
|
+
|
127
|
+
<property name="args.test_runner" value="${dlls.test} ${test.args}" />
|
128
|
+
</target>
|
129
|
+
|
130
|
+
<target name="run_tests" depends="prepare" description="Running Unit Tests">
|
131
|
+
|
132
|
+
<if test="${dlls.test !=''}">
|
133
|
+
<echo message="Running tests using StorEvil and putting results in ${dirs.test_results}."/>
|
134
|
+
<exec
|
135
|
+
program="${app.storevil.console}"
|
136
|
+
workingdir="${dirs.build.code}"
|
137
|
+
failonerror="true">
|
138
|
+
<arg value="${args.test_runner}" />
|
139
|
+
</exec>
|
140
|
+
<property name="tests.ran" value="true" />
|
141
|
+
</if>
|
142
|
+
<if test="${dlls.test ==''}">
|
143
|
+
<echo message="No test dlls to run against" />
|
144
|
+
</if>
|
145
|
+
|
146
|
+
</target>
|
147
|
+
|
148
|
+
<target name="generate_report">
|
149
|
+
<if test="${tests.ran}">
|
150
|
+
<nunit2report todir="${dirs.test_results}" failonerror="false" >
|
151
|
+
<fileset>
|
152
|
+
<include name="${dirs.test_results}${path.separator}*-results.xml"/>
|
153
|
+
</fileset>
|
154
|
+
</nunit2report>
|
155
|
+
</if>
|
156
|
+
</target>
|
157
|
+
|
158
|
+
<target name="open_results">
|
159
|
+
<echo message="Opening results - ${path::get-full-path(dirs.test_results) + path.separator + file.test_results + '.html'}" />
|
160
|
+
<results display="${path::get-full-path(dirs.test_results) + path.separator + file.test_results + '.html'}" />
|
161
|
+
</target>
|
162
|
+
|
163
|
+
<target name="custom_tasks_after">
|
164
|
+
<echo message="Running custom tasks if ${file.custom.step.after} exists." />
|
165
|
+
<nant buildfile="${file.custom.step.after}" inheritall="true" if="${file::exists(file.custom.step.after)}" failonerror="${fail.build.on.error}" />
|
166
|
+
<exec program="powershell.exe" if="${file::exists(file.custom.step.after + '.ps1')}" failonerror="${fail.build.on.error}" >
|
167
|
+
<arg value="${path::get-full-path(file.custom.step.after + '.ps1')}" />
|
168
|
+
</exec>
|
169
|
+
<exec program="ruby.exe" if="${file::exists(file.custom.step.after + '.rb')}" failonerror="${fail.build.on.error}" >
|
170
|
+
<arg value="${path::get-full-path(file.custom.step.after + '.rb')}" />
|
171
|
+
</exec>
|
172
|
+
</target>
|
173
|
+
|
174
|
+
</project>
|
data/lib/build/compile.step
CHANGED
@@ -26,8 +26,8 @@
|
|
26
26
|
<property name="msbuild.override_output_path" value="true" overwrite="false" />
|
27
27
|
<property name="msbuild.outputpath" value="${dirs.build}${path.separator}${folder.app.drop}" overwrite="false" />
|
28
28
|
<property name="xbuild.outputpath" value=".${path.separator}${folder.code_build}${path.separator}${folder.app.drop}" overwrite="false" />
|
29
|
-
<property name="solution.path" value="${directory::get-parent-directory(dirs.current)}${path.separator}${project.name}.sln" />
|
30
|
-
<property name="solution.path" value="${directory::get-parent-directory(dirs.current)}${path.separator}${project.name}.vbp" if="${microsoft.framework =='vb6'}" />
|
29
|
+
<property name="solution.path" value="${directory::get-parent-directory(dirs.current)}${path.separator}${path_to_solution}${path.separator}${project.name}.sln" />
|
30
|
+
<property name="solution.path" value="${directory::get-parent-directory(dirs.current)}${path.separator}${path_to_solution}${path.separator}${project.name}.vbp" if="${microsoft.framework =='vb6'}" />
|
31
31
|
<property name="nant.settings.currentframework" value="mono-1.0" if="${platform::is-unix()}" />
|
32
32
|
<property name="nant.settings.currentframework" value="net-3.5" if="${microsoft.framework !='vb6' and platform::is-windows()}" />
|
33
33
|
<property name="framework.multitargeting" value="false" />
|
data/lib/build/package.step
CHANGED
@@ -102,10 +102,12 @@
|
|
102
102
|
<exclude name="*bdddoc.*" />
|
103
103
|
<exclude name="*developwithpassion.bdd.*" />
|
104
104
|
<exclude name="*nunit.*" />
|
105
|
-
<exclude name="*
|
105
|
+
<exclude name="*xunit.*" />
|
106
106
|
<exclude name="*MbUnit*.*" />
|
107
|
-
<exclude name="*Rhino.Mocks.*" />
|
108
107
|
<exclude name="*Refly.*" />
|
108
|
+
<exclude name="*QuickGraph*.*" />
|
109
|
+
<exclude name="*Rhino.Mocks.*" />
|
110
|
+
<exclude name="*Moq.*" />
|
109
111
|
<exclude name="**${path.separator}*.template" />
|
110
112
|
<include name="**/*.*" />
|
111
113
|
</fileset>
|
data/lib/build/uppercut.dll
CHANGED
Binary file
|
Binary file
|
Binary file
|
@@ -1,10 +1,10 @@
|
|
1
|
-
function toggle (name, img)
|
2
|
-
{
|
3
|
-
var element = document.getElementById (name);
|
4
|
-
|
5
|
-
if (element.style.display == 'none')
|
6
|
-
element.style.display = '';
|
7
|
-
else
|
1
|
+
function toggle (name, img)
|
2
|
+
{
|
3
|
+
var element = document.getElementById (name);
|
4
|
+
|
5
|
+
if (element.style.display == 'none')
|
6
|
+
element.style.display = '';
|
7
|
+
else
|
8
8
|
element.style.display = 'none';
|
9
9
|
|
10
10
|
var img_element = document.getElementById (img);
|
@@ -13,5 +13,5 @@ function toggle (name, img)
|
|
13
13
|
img_element.src = 'Media/plus.png';
|
14
14
|
else
|
15
15
|
img_element.src = 'Media/minus.png';
|
16
|
-
}
|
17
|
-
|
16
|
+
}
|
17
|
+
|
@@ -65,6 +65,7 @@
|
|
65
65
|
<!-- In example, if from the top level directory, you have an item that is in lib\NCover\NCover.Console.exe you should add it here as ..\..\lib\NCover\NCover.Console.exe -->
|
66
66
|
<!-- To not use the tool, change to a location that doesn't exist -->
|
67
67
|
<property name="app.nunit.console" value="..${path.separator}..${path.separator}${folder.references}${path.separator}NUnit${path.separator}nunit-console.exe" overwrite="false" />
|
68
|
+
<property name="app.storevil.console" value="..${path.separator}..${path.separator}${folder.references}${path.separator}StorEvil${path.separator}StorEvil.exe" overwrite="false" />
|
68
69
|
<property name="app.ncover" value="..${path.separator}..${path.separator}${folder.references}${path.separator}NCover${path.separator}NCover.Console.exe" overwrite="false" />
|
69
70
|
<property name="app.ncover_explorer" value="..${path.separator}..${path.separator}${folder.references}${path.separator}NCover${path.separator}NCoverExplorer.Console.exe" overwrite="false" />
|
70
71
|
<property name="app.ncover.tester" value="..${path.separator}..${path.separator}${folder.references}${path.separator}MbUnit2${path.separator}MbUnit.Cons.exe" overwrite="false" if="${test.framework=='mbunit2'}" />
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uppercutbuild
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 40201507
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
9
|
+
- 3
|
10
10
|
- 0
|
11
|
-
-
|
12
|
-
version: 1.0.
|
11
|
+
- 20100818
|
12
|
+
version: 1.0.3.0.20100818
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- Rob "FerventCoder" Reynolds
|
@@ -18,7 +18,7 @@ autorequire:
|
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
20
|
|
21
|
-
date: 2010-08-
|
21
|
+
date: 2010-08-18 00:00:00 -05:00
|
22
22
|
default_executable:
|
23
23
|
dependencies:
|
24
24
|
- !ruby/object:Gem::Dependency
|
@@ -60,6 +60,7 @@ files:
|
|
60
60
|
- lib/build/analyzers/ndepend.step
|
61
61
|
- lib/build/analyzers/nitriq.step
|
62
62
|
- lib/build/analyzers/nunit.test.step
|
63
|
+
- lib/build/analyzers/storevil.test.step
|
63
64
|
- lib/build/analyzers/test.step
|
64
65
|
- lib/build/Castle.Core.dll
|
65
66
|
- lib/build/Castle.DynamicProxy2.dll
|
@@ -119,6 +120,7 @@ files:
|
|
119
120
|
- lib/lib/MbUnit2/TestFu.XML
|
120
121
|
- lib/lib/MbUnit2/XsdTidy.exe
|
121
122
|
- lib/lib/MoMA/Definitions/2.4.0.1-defs.zip
|
123
|
+
- lib/lib/MoMA/Definitions/2.6-defs.zip
|
122
124
|
- lib/lib/MoMA/ICSharpCode.SharpZipLib.dll
|
123
125
|
- lib/lib/MoMA/MoMA.Analyzer.dll
|
124
126
|
- lib/lib/MoMA/MoMA.exe
|