From d7192a68978f9bd9732c6673001866064df2324e Mon Sep 17 00:00:00 2001 From: "Adam R. Grey" Date: Sun, 24 Oct 2021 10:06:21 -0400 Subject: [PATCH] let's be real it's as least as much work making tests as making whatever software you're supposed to be testing, and at least as much work maintaining tests as maintaining whatever you're testing, and idk about you guys but I have never benefitted from a test --- franz.tests/.vscode/launch.json | 26 -------------------- franz.tests/.vscode/tasks.json | 42 --------------------------------- franz.tests/Program.cs | 25 -------------------- franz.tests/franz.tests.csproj | 11 --------- 4 files changed, 104 deletions(-) delete mode 100644 franz.tests/.vscode/launch.json delete mode 100644 franz.tests/.vscode/tasks.json delete mode 100644 franz.tests/Program.cs delete mode 100644 franz.tests/franz.tests.csproj diff --git a/franz.tests/.vscode/launch.json b/franz.tests/.vscode/launch.json deleted file mode 100644 index d02f69a..0000000 --- a/franz.tests/.vscode/launch.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "version": "0.2.0", - "configurations": [ - { - // Use IntelliSense to find out which attributes exist for C# debugging - // Use hover for the description of the existing attributes - // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md - "name": ".NET Core Launch (console)", - "type": "coreclr", - "request": "launch", - "preLaunchTask": "build", - // If you have changed target frameworks, make sure to update the program path. - "program": "${workspaceFolder}/bin/Debug/net5.0/franz.tests.dll", - "args": [], - "cwd": "${workspaceFolder}", - // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console - "console": "internalConsole", - "stopAtEntry": false - }, - { - "name": ".NET Core Attach", - "type": "coreclr", - "request": "attach" - } - ] -} \ No newline at end of file diff --git a/franz.tests/.vscode/tasks.json b/franz.tests/.vscode/tasks.json deleted file mode 100644 index 1330609..0000000 --- a/franz.tests/.vscode/tasks.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "version": "2.0.0", - "tasks": [ - { - "label": "build", - "command": "dotnet", - "type": "process", - "args": [ - "build", - "${workspaceFolder}/franz.tests.csproj", - "/property:GenerateFullPaths=true", - "/consoleloggerparameters:NoSummary" - ], - "problemMatcher": "$msCompile" - }, - { - "label": "publish", - "command": "dotnet", - "type": "process", - "args": [ - "publish", - "${workspaceFolder}/franz.tests.csproj", - "/property:GenerateFullPaths=true", - "/consoleloggerparameters:NoSummary" - ], - "problemMatcher": "$msCompile" - }, - { - "label": "watch", - "command": "dotnet", - "type": "process", - "args": [ - "watch", - "run", - "${workspaceFolder}/franz.tests.csproj", - "/property:GenerateFullPaths=true", - "/consoleloggerparameters:NoSummary" - ], - "problemMatcher": "$msCompile" - } - ] -} \ No newline at end of file diff --git a/franz.tests/Program.cs b/franz.tests/Program.cs deleted file mode 100644 index e9a5fd6..0000000 --- a/franz.tests/Program.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; -using System.Threading.Tasks; - -namespace franz.tests -{ - class Program - { - static async Task Main(string[] args) - { - Console.WriteLine("Hello World!"); - Telefranz.Configure("libfranztest1", "focalor:9092"); - var f1Reported = false; - Telefranz.Instance.addHandler((r) => { - Console.WriteLine($"someone reporting. {r}"); - if(r.name =="libfranztest1") - { - f1Reported = true; - Console.WriteLine("f1 reported"); - } - }); - await Task.Delay(1000); - Console.WriteLine("done I guess?"); - } - } -} diff --git a/franz.tests/franz.tests.csproj b/franz.tests/franz.tests.csproj deleted file mode 100644 index 79d3280..0000000 --- a/franz.tests/franz.tests.csproj +++ /dev/null @@ -1,11 +0,0 @@ - - - - Exe - net5.0 - - - - - -