new configuration that will work under TeamCity
authorEugene.Petrenko <eugene.petrenko@gmail.com>
Sat, 9 Jul 2011 11:27:50 +0000 (15:27 +0400)
committerEugene.Petrenko <eugene.petrenko@gmail.com>
Sat, 9 Jul 2011 11:27:50 +0000 (15:27 +0400)
.idea/runConfigurations/Run_Tests_TeamCity.xml [new file with mode: 0644]
nuget-tests/src/testng-nuget-tests..xml [new file with mode: 0644]

diff --git a/.idea/runConfigurations/Run_Tests_TeamCity.xml b/.idea/runConfigurations/Run_Tests_TeamCity.xml
new file mode 100644 (file)
index 0000000..36da977
--- /dev/null
@@ -0,0 +1,35 @@
+<component name="ProjectRunConfigurationManager">\r
+  <configuration default="false" name="Run Tests TeamCity" type="TestNG" factoryName="TestNG">\r
+    <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />\r
+    <module name="nuget-tests" />\r
+    <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />\r
+    <option name="ALTERNATIVE_JRE_PATH" value="" />\r
+    <option name="SUITE_NAME" value="$PROJECT_DIR$/nuget-tests/src/testng-nuget-tests..xml" />\r
+    <option name="PACKAGE_NAME" value="" />\r
+    <option name="MAIN_CLASS_NAME" value="" />\r
+    <option name="METHOD_NAME" value="" />\r
+    <option name="GROUP_NAME" value="" />\r
+    <option name="TEST_OBJECT" value="SUITE" />\r
+    <option name="VM_PARAMETERS" value="-ea -Xmx512m" />\r
+    <option name="PARAMETERS" value="" />\r
+    <option name="WORKING_DIRECTORY" value="" />\r
+    <option name="OUTPUT_DIRECTORY" value="" />\r
+    <option name="ANNOTATION_TYPE" />\r
+    <option name="ENV_VARIABLES" />\r
+    <option name="PASS_PARENT_ENVS" value="true" />\r
+    <option name="TEST_SEARCH_SCOPE">\r
+      <value defaultName="moduleWithDependencies" />\r
+    </option>\r
+    <option name="USE_DEFAULT_REPORTERS" value="false" />\r
+    <option name="PROPERTIES_FILE" value="" />\r
+    <envs />\r
+    <properties />\r
+    <listeners />\r
+    <RunnerSettings RunnerId="Profile ">\r
+      <option name="myExternalizedOptions" value="&#13;&#10;snapshots-dir=&#13;&#10;additional-options2=onexit\=snapshot&#13;&#10;" />\r
+    </RunnerSettings>\r
+    <RunnerSettings RunnerId="Run" />\r
+    <ConfigurationWrapper RunnerId="Run" />\r
+    <method />\r
+  </configuration>\r
+</component>
\ No newline at end of file
diff --git a/nuget-tests/src/testng-nuget-tests..xml b/nuget-tests/src/testng-nuget-tests..xml
new file mode 100644 (file)
index 0000000..a824e97
--- /dev/null
@@ -0,0 +1,20 @@
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">\r
+<suite name="nuget">\r
+\r
+  <test name="fast tests">\r
+    <classes>\r
+      <class name="jetbrains.buildServer.nuget.tests.agent.LocateNuGetConfigBuildProcessTest"/>\r
+      <class name="jetbrains.buildServer.nuget.tests.agent.NuGetInstallPackageActionFactoryTest"/>\r
+\r
+      <class name="jetbrains.buildServer.nuget.tests.util.CompositeBuildProcessTest"/>\r
+      <class name="jetbrains.buildServer.nuget.tests.util.DelegatingBuildProcessTest"/>\r
+    </classes>\r
+  </test>\r
+\r
+  <test name="nuget integration test">\r
+    <classes>\r
+      <class name="jetbrains.buildServer.nuget.tests.integration.InstallPackageIntegtatoinTest"/>\r
+    </classes>\r
+  </test>\r
+</suite>\r
+\r