From d8f743f7f9960ffe72532e67e7d03c044352d817 Mon Sep 17 00:00:00 2001 From: Luiz Henrique Cassettari Date: Fri, 20 Sep 2024 12:55:49 -0300 Subject: [PATCH 1/2] Update to ricaun.RevitTest.TestAdapter 1.5.0 --- CHANGELOG.md | 7 ++++ RevitTest.Samples/RevitTest.Samples.csproj | 2 +- RevitTest.Samples/Tests_Files.cs | 37 ++++++++++++++++++++++ 3 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 RevitTest.Samples/Tests_Files.cs diff --git a/CHANGELOG.md b/CHANGELOG.md index d3de716..97c1dee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [1.0.5] / 2024-09-20 +- Update to [ricaun.RevitTest.TestAdapter 1.5.0](https://www.nuget.org/packages/ricaun.RevitTest.TestAdapter) +- Video [RevitTest Version 1.5.* - TestCaseSource](https://youtu.be/qDIxW0DUKSI) +- Version `1.5.0` features: + - Support `TestCaseSource` (Fix: #13) + ## [1.0.4] / 2024-09-06 - Update to [ricaun.RevitTest.TestAdapter 1.4.1](https://www.nuget.org/packages/ricaun.RevitTest.TestAdapter) - Video [RevitTest Version 1.4.* - Timeout and Viewer Mode](https://youtu.be/qDIxW0DUKSI) @@ -32,6 +38,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - First Release - [ricaun.RevitTest.TestAdapter 1.3.0](https://www.nuget.org/packages/ricaun.RevitTest.TestAdapter) [vNext]: ../../compare/1.0.0...HEAD +[1.0.5]: ../../compare/1.0.4...1.0.5 [1.0.4]: ../../compare/1.0.3...1.0.4 [1.0.3]: ../../compare/1.0.2...1.0.3 [1.0.2]: ../../compare/1.0.1...1.0.2 diff --git a/RevitTest.Samples/RevitTest.Samples.csproj b/RevitTest.Samples/RevitTest.Samples.csproj index 6edca02..b6915b0 100644 --- a/RevitTest.Samples/RevitTest.Samples.csproj +++ b/RevitTest.Samples/RevitTest.Samples.csproj @@ -29,7 +29,7 @@ - 1.0.4 + 1.0.5 diff --git a/RevitTest.Samples/Tests_Files.cs b/RevitTest.Samples/Tests_Files.cs new file mode 100644 index 0000000..2e7c7b7 --- /dev/null +++ b/RevitTest.Samples/Tests_Files.cs @@ -0,0 +1,37 @@ +using NUnit.Framework; +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; + +namespace RevitTest.Sample +{ + public class Tests_Files + { + public static IEnumerable GetFileNames() + { + var folder = Directory.GetCurrentDirectory(); + return Directory.GetFiles(folder, "*RevitTest*.dll").Select(Path.GetFileName); + } + + [TestCaseSource(nameof(GetFileNames))] + public void TestFile(string fileName) + { + Console.WriteLine(fileName); + Assert.True(true); + } + + public static string[] GetRevitFileNames() + { + var downloadFolder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), "Downloads"); + return Directory.GetFiles(downloadFolder, "*.rvt"); + } + + [TestCaseSource(nameof(GetRevitFileNames))] + public void TestRevitFile(string fileName) + { + Console.WriteLine(fileName); + Assert.True(true); + } + } +} \ No newline at end of file From 1a2adbc740c24e16a168470a0f87e4397e7d3859 Mon Sep 17 00:00:00 2001 From: Luiz Henrique Cassettari Date: Fri, 20 Sep 2024 14:31:46 -0300 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 97c1dee..5043034 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [1.0.5] / 2024-09-20 - Update to [ricaun.RevitTest.TestAdapter 1.5.0](https://www.nuget.org/packages/ricaun.RevitTest.TestAdapter) -- Video [RevitTest Version 1.5.* - TestCaseSource](https://youtu.be/qDIxW0DUKSI) +- Video [RevitTest Version 1.5.* - TestCaseSource](https://youtu.be/8ZP5bhP_18M) - Version `1.5.0` features: - Support `TestCaseSource` (Fix: #13)