Tests implementiert
This commit is contained in:
@@ -12,7 +12,7 @@ namespace Hochbaustatistik.Testing
|
||||
public class DatabaseOperationsTests
|
||||
{
|
||||
|
||||
[Fact (Skip ="Keine Datenbank-Verbindung m<>glich")]
|
||||
[Fact]//(Skip ="Keine Datenbank-Verbindung m<>glich")]
|
||||
public void ConnectAndExecuteHochbauTest()
|
||||
{
|
||||
DatabaseOperations.conString = "Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=dborap04.stadtdo.de)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=bgvp.stadtdo.de)));user id=leser;password=leser;";
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Hochbaustatistik.Testing
|
||||
{
|
||||
public class EmailTests
|
||||
{
|
||||
[Theory(Skip = "Kein Lotus Notes installiert")]
|
||||
[Theory(Skip = "Kein lotus installiert")]
|
||||
[InlineData(@"C:\TEMP\test.txt")]
|
||||
public void SenMailTest(string attachment)
|
||||
{
|
||||
|
||||
@@ -13,7 +13,8 @@ using Xunit;
|
||||
namespace Hochbaustatistik.Testing.Utilities
|
||||
{
|
||||
public class DataOpsTest
|
||||
{
|
||||
{
|
||||
readonly string sourceFile = @"TestData\TestData.csv";
|
||||
public readonly VorgangInpro vorgang = new VorgangInpro() { Schlussabnahme = "2022" };
|
||||
|
||||
[Theory]
|
||||
@@ -118,7 +119,7 @@ namespace Hochbaustatistik.Testing.Utilities
|
||||
Assert.Equal(expected2, actuals.ElementAt(1));
|
||||
}
|
||||
|
||||
[Fact(Skip = "Keine Datenbank-Verbindung möglich")]
|
||||
[Fact]
|
||||
public void MergeInproWithITNRWTest()
|
||||
{
|
||||
var resultFile = @"C:\TEMP\hochbaustatistik.csv";
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace Hochbaustatistik.Testing
|
||||
public class WebTesting
|
||||
{
|
||||
|
||||
[Fact (Skip ="Derzeit keine Daten zum Download vorhanden")]
|
||||
[Fact (Skip ="Keine Daten zum Download vorhanden")]
|
||||
public void DownloadList()
|
||||
{
|
||||
//DownloadFolder
|
||||
@@ -58,7 +58,7 @@ namespace Hochbaustatistik.Testing
|
||||
driver.Quit();
|
||||
|
||||
Assert.True(File.Exists(pathDownloadedList));
|
||||
File.Delete(pathDownloadedList);
|
||||
//File.Delete(pathDownloadedList);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user