Skip to content

Latest commit

 

History

History
614 lines (568 loc) · 21.9 KB

CHANGELOG.md

File metadata and controls

614 lines (568 loc) · 21.9 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

1.8.0 / 2024-12-16 - 2024-12-19

Features

  • Make project public
  • Fix test filter limit size arguments (Fix: #65)

Application

  • Remove net46 framework, remove Revit 2017 and Revit 2018 support.

Command

  • Fix AppUtils to show ProductName.
  • Update ProcessStart to show arguments length in debug.
  • Update RevitTestProcessStart to create temp file for test arguments.
  • Update RunCommand to read test arguments from temp file.

Console

  • Update ricaun.Revit.Installation to 1.3.1.
  • Add EnvironmentVariable class, with ProcessArguments and TimeoutNotBusyMaxSeconds variables.
  • Remove not used RevitAddinDisable class.
  • Update RevitTestUtils with MinimalRevitVersion to 2019.

Build

  • Update ci to use public nuget packages.

TestAdapter

  • Update ricaun.Security.WinTrust to 1.1.0.

Tests

  • Add net47 with Revit 2019 tests.

1.7.1 / 2024-12-07 - 2024-12-10

Application

  • Update to use AssemblyMetadata to set configuration. (Fix: #64)
  • Update TestExecuteUtils to use ConfigurationMetadata.
  • Update Log file name.
  • Update ricaun.NUnit to 1.4.1.
  • Add MetadataMapper to map AssemblyMetadata configuration.
  • Update to use Task.Run to force run outside the Revit context.
  • Update Timeout to time unit in minutes.

Command

  • Update AssemblyName to use Version.
  • Update Timeout to double.

TestAdapter

  • Update MapperKey to multiple converts.
  • Update MetadataMapper with prefix.
  • Fix Mapper convert integer to ignore dot.
  • Update Timeout to double.

Tests

  • Update TestsRevitTask with AssemblyMetadata configuration.

1.7.0 / 2024-11-02 - 2024-12-03

Features

  • Support IRevitTask functions as parameters.

Application

  • Add 8 functions parameters in the tests to enable IRevitTask functions. (Fix: #61)
  • Update ricaun.Revit.UI to 0.7.1 to support .tiff file.
  • Add .tiff to support Multi-DPI.

Tests

  • Update TestsRevitTask with RevitTaskBase using base parameter.
  • Add TestsFuncTaskParameters to test each parameter function.

Build

  • Update FileSystemTasks.CopyFileToDirectory to AbsolutePathExtensions.CopyToDirectory.

1.6.0 / 2024-09-25 - 2024-10-06

Features

  • Support TestAdapter custom executer.
  • Support environment variables to overwrite settings in the TestAdapter. (Fix: #57)
  • Support Cancel tests and Kill processes in the TestAdapter.

App

  • Force to kill test when ClientDisconnected.

Command

  • Update to use JsonService implementation to use Newtonsoft.Json in the domain.
  • Update ProcessStart with GetProcesses to enable kill process.

Console

  • Add RevitTestUtils.Exceptions to show exceptions in the console.
  • Add ricaun.RevitAPI.Fake.References.RevitAPIUI to fix RevitAPIUI reference exception in the discovery test. (Fix: #58)
  • Disable/Remove discovery test to use RevitAPIUI version 2021 to 2023.
  • Add Environment variable for process arguments RICAUN_REVITTEST_CONSOLE_PROCESS_ARGUMENTS.

Shared

  • Update to use ricaun.NamedPipeWrapper.Json version 1.8.0.
  • Add ClientDisconnected in PipeProcessServer.

TestAdapter

  • Use LocalExtensionData to store TestModel result.
  • Add EnvironmentSettings to overwrite settings in the TestAdapter.
  • Update JsonService implementation to use Newtonsoft.Json in the domain.
  • Support Cancel to abort and Kill processes.
  • Add ProcessExtension to KillTree for net framework.

Tests

  • Add TestsRevitUI to validate fake RevitAPIUI reference.

1.5.0 / 2024-09-11 - 2024-09-19

Features

  • Support tests with TestCaseSource. (Fix: #55)

Application

  • Update ricaun.NUnit to 1.4.0.

Tests

  • Add TestsCaseSource to test TestCaseSourceAttribute.
  • Add tests with TestCaseData class with expected result.

1.4.1 / 2024-09-06

TestAdapter

  • Update project reference to PrivateAssets to remove reference in the package.

1.4.0 / 2024-09-05

Features

  • Support NUnit.Timeout option to abort application. (default '10' minutes) (Fix: #51)
  • Autoclose VIEWER MODE warning dialog box when Revit starts. (Fix: #52)

Application

  • Add DialogBoxResolver to cancel dialog box before revit initialization.

Console

  • Change TimeoutMinutesDefault to 10 minutes in the RevitTestUtils.
  • Remove deprecated wait option and RevitDebugUtils.
  • Add Timeout option to abort application.
  • Fail all tests when Timeout happen.
  • Update execution/timeout message in the log.

Command

  • Add RevitTestProcessStart to run tests with ProcessStart.
  • Remove deprecated wait option.
  • Add Timeout option to abort application.

TestAdapter

  • Add project ricaun.RevitTest.Command with ricaun.NUnit
  • Remove references CommandLineParser and NUnit not used.
  • Use RevitTestProcessStartUtils to start the process.
  • Add NUnit.Timeout option to timeout the application.

1.3.6 / 2024-08-30

TestAdapter

  • Remove log in the LocalFileExists in the ApplicationUtils.

1.3.5 / 2024-07-22 - 2024-08-28

Features

  • Update Application images to support light and dark theme.

Application

  • Update project to build net47 and net48.
  • Update Images with light and dark theme.
  • Update ricaun.Revit.UI with the image auto theme based in the light and dark in the file name.
  • Update Exception when null.
  • Update timestamp in temp folder to hexadecimal.
  • Update test folder to temporarty the folder RevitTest to reduce the PathTooLongException. (Fix #48)
  • Update to use ricaun.Revit.UI.Tasks library to run async tests.
  • Update to use ricaun.Revit.UI.Busy library to check if revit is busy.

Console

  • Throw exception when RevitTestUtils is empty.

TestAdapter

  • Show Warning when Console fails.
  • Fix local file copy to temporary by zip folder.
  • Add TestsFilePathTooLong to similate long path inside test.
  • Update to use ricaun.Revit.UI.Tasks library to run async tests.
  • Update ApplicationUtils check local file exists.
  • Update RevitTestConsole with SetCurrentDirectory using the source test file.

1.3.4 / 2024-05-27

Console

  • Update ricaun.Revit.Installation to fix bundle not loading when Revit is open. (Fix: #46)
  • Update ricaun.Revit.Installation with a different RevitInstallationUtils.

1.3.3 / 2024-05-22

Fixed

  • Fix TestCase with the same Guid using GuidFromString. (Fix: #43)
  • Fix TestCase with . in the name. (Fix: #44)

TestAdapter

  • Add GuidFromString in the TestCaseUtils.
  • Update SplitTestName to check ( and ".
  • Update Application for LocalFileExists.

Tests

  • Add TestDoubleCase with double with . in the name.

1.3.2 / 2024-05-09

Fixed

  • Fix ApplicationUtils to clear temp folder after some minutes. (Fix: #41)
  • Fix Net Core tests not stay after rebuild. (Fix: #40)

TestAdapter

  • Fix application and rebuild issue.
  • Update ApplicationUtils to use Guid temp folder.

1.3.1 / 2024-04-02

Features

  • Support Revit 2025 to 2017.

Fixed

  • Fix Installation Application issue.
  • Fix Timeout issue with testsFinishedForceToEnd.

Command

  • Update ricaun.Revit.Installation to 1.1.2
  • Update debugger with debug logs.
  • Update Command with SemanticVersion.

Application

  • Fix AssemblyResolve in .NET Core updated AppDomainExtension.

Shared

  • Update NamedPipeWrapper.Json to 1.7.0

TestAdapter

  • Update TestAdapter with debug logs.
  • Update TestAdapter with PackageTags
  • Update TestAdapter with PackageLicenseFile
  • Add IsLogDebug with Verbosity.

1.3.0 / 2024-03-28

Features

  • Readme information to wiki.

Application

  • Add class ApplicationValidUser to validate user.

Removed

  • Remove all ricaun.Auth references.

1.2.1 / 2023-11-21 - 2024-02-06

Features

  • Support net8.0-windows for Revit 2025.

Application

  • Add EnsureApsUserHaveOpenId to make sure OpenId has data.
  • Disable EnsureApsUserHaveOpenId, not working OpenId is null after Refresh.
  • Update OpenFile in Log with UseShellExecute=true.
  • Update net8.0-windows for Revit 2025.
  • Update csproj.
  • Add ApplicationPreviewUtils to enable know if Revit application is preview.
  • Enable run without LoginUserId when IsPreviewRelease.
  • Update ricaun.Revit.UI
  • Update RibbonUtils with updated ricaun.Revit.UI
  • Update images to ico.
  • Update ricaun.Auth to beta - LicenseAgreement enable.
  • Add ApsApplicationPipeTest class.
  • Remove ApsApplicationCheck

Shared

  • Update net6.0-windows framework.
  • Update support net8.0-windows framework.

Console

  • Update net8.0-windows framework.
  • Update csproj.
  • Update MarshalUtils in net7.0
  • Update RevitTestUtils with no hiddenRevitArgument, use NUnit.Language to add extra arguments to open Revit.
  • Add SleepMillisecondsDebuggerAttached to wait for debugger.

Build

  • Update net48 and net8.0-windows console zip.

TestAdapter

  • Update TestAdapter to net6.0 and net8.0
  • Select resource console zip for NetFramework and NetCore.
  • Update ResourceConsoleUtils
  • Update RevitTestConsole to remove + in FileInfo.
  • Add FileVersionInfoUtils to remove + in FileInfo.
  • Update to HttpClient.
  • Update RevitTestConsole to use HttpClient.
  • Update Log to show download fail and the ProductVersion.
  • Update Download exception to Warning.
  • Add EncodeParameterArgumentExtension to fix [TestCase(@"C:\help.pdf")] issue. (Fix #36)

Warning

  • Ignore Newtonsoft.Json warning in Application project.

1.2.0 / 2023-10-28

Features

  • Application works offline.
  • Application force Revit Login.

Application

  • Update ricaun.Auth.Aps.UI to 1.0.4
  • Update scope to OpenId.
  • Update only with IsLoggedIn and same UserId.

1.1.3 / 2023-10-16

Features

  • Application show error in log if fail.

TestAdapter

  • Update RevitTestConsole with log application location.
  • Update ApplicationUtils clear temp folder.

Application

  • Update Log before test Runs.

1.1.2 / 2023-10-07

Features

  • TestAdapter with net6 support.

TestAdapter

  • Update net6 to EnableDynamicLoading to fix System.IO.FileNotFoundException reference. (Fix: #32)

Command

  • Update AppUtils.GetInfo to show framework version (Net Framework or Net Core).
  • Update Run to show in Log the Exception.

Console

  • Remove KeyAvailable in the RevitTestUtils. (Fix issue in Rider.)

1.1.1 / 2023-10-03

Features

  • TestDiscoverer enable log feature.
  • TestAdapter only execute Application if trusted.
  • TestAdapter with net6 support.

Updated

  • Update ricaun.NUnit to 1.3.1

Command

  • Update TargetFramework added net5
  • Update JsonExtension with System.Text.Json

Console

  • Update ricaun.Revit.Installation to 1.1.0 (Fix: #30)

TestAdapter

  • Update TestDiscoverer with Log feature
  • Update RevitTestConsole with RunTestReadWithLog feature
  • Add ricaun.Security.WinTrust package with PrivateAssets
  • Add TrustApplicationUtils to check if application is trusted
  • Add DelayAfterExit in ProcessStart with value 100
  • Remove not used XmlBool
  • Add JsonService for net framework and net code.
  • Add TargetFrameworkUtils to get TargetFramework name.

Fixed

  • Fix Folder not exist (Fix: #30)

Build

  • Update to version 1.6.1 enable prerelease with filter
  • Update IBuildCommand and IBuildConsole
  • Disable IPackRelease

1.1.0 / 2023-08-28

Features

  • Support Revit Language

Command

  • Update option with RevitLanguage

Console

  • Add RevitLanguageUtils to get language argument

TestAdapter

  • Add Language support in the NUnit adapter executer

Tests

  • Add Language test for Revit UI

1.0.22 / 2023-08-08

Fixed

  • Fix AssemblyResolveEvent handlers cannot return Assemblies loaded for reflection only. in version 2021 by not using ContainNUnit in each file.

Application

  • Change TestDirectoryAsync and add filePattern to filter files and test only the original file.

1.0.21 / 2023-08-07

Fixed

  • Fix buzy problem when TestAsync is running.

Application

  • Add IsTestRunning to prevent buzy to turn off when TestAsync is running.
  • IsTestRunning disable RevitBusyControlPropertyChanged
  • Ignore FileNotFoundException in TestExecuteUtils.

Tests

  • Add TestAsync_Idling_Timeout to test IsTestRunning

1.0.20 / 2023-07-28

Features

  • Enable to run async tests outside the Revit Context.

Application

  • Update TestExecuteUtils
  • Add CopyFilesUsingZipFolder and CopyFilesBackUsingZip to TestExecuteUtils
  • Update ZipExtension to delete zip file after extract
  • Clear run tests in App
  • Update TestEngineFilter.CancellationTokenTimeOut to set 1 minute
  • Update TestExecuteUtils with ExecuteAsync
  • Add FileVersionInfoUtils to configurate TestAsync using AssemblyDescriptionAttribute
  • Add ConfigurationComments with TimeOut and TestAsync

Tests

  • Add TestRevitTask tests with RevitTask, async, Idling, and Dialog_API_MacroManager

1.0.19 / 2023-07-26

Features

  • Validate ApsUser with ApsApplicationCheck
  • RevitTaskService to run Tests

Application

  • Update ricaun.Revit.Async to 1.0.4
  • Update RevitTask to RevitTaskService
  • Update RevitBusyControl to RevitBusyService
  • Update to use TestAssemblyModel in TestExecuteUtils
  • Add ApsResponse with isValid
  • Add ApsApplicationCheck with Check
  • Validate the ApsResponse before each test using ApsApplicationCheck

1.0.18 / 2023-07-18

Features

  • Application zip downloads with any exe file.

1.0.17 / 2023-07-17

Features

  • Installed Revit Version not found show error in the Tests.

Console

  • Update RevitTestUtils to show error when Revit Version not found.

TestAdapter

  • Add ITestLoggerExtension with DebugOnlyLocal
  • Change Logger in the ExtractZipToDirectory to DebugOnlyLocal

1.0.16 / 2023-07-17

Features

  • TestAdapter configuration Application works with EnvironmentVariable.

TestAdapter

  • Update ValidadeApplication to work with EnvironmentVariable.
  • Fix Metadata with same key problem.

1.0.15 / 2023-07-12

Features

  • Open ApsView if not connected and wait for Login or close.

Updated

  • Update ricaun.NUnit to 1.3.0 (TestEngine.Fail)

Application

  • Fail tests with TestEngine.Fail when NUnit is not valid.
  • Open ApsView when not Login when tests.

1.0.14 / 2023-07-11

Features

  • Update Logger to another server to improve speed.

Application

  • Logger when Login with ApsView
  • Update ApsLog with product info.

1.0.13 / 2023-06-30

Features

  • Add Aps Loggin and logger test count

Application

  • Add ApsApplicationLogger
  • Add ricaun.Auth.Aps.UI version 1.0.1

Console

  • Add time delay close and Kill process

TestAdapter

  • Add OrdinalIgnoreCase to fix Metadata Mapper

1.0.12 / 2023-06-26

Features

  • Add authentication with ricaun.Auth

Application

  • Add ApsApplication with ricaun.Auth.Aps.UI
  • Add TestExceptionUtils to show Exception in the TextExplorer

1.0.11 / 2023-06-15

TestAdapter

  • Fix Metadata problem not working... From 1.0.10

1.0.10 / 2023-06-14

TestAdapter

  • Change everything to internal to remove possible Reference
  • Problem with DeserializeXml only work with public classes
  • Create new MapperKey to work with KeyValue
  • Create XmlUtils to transform xml to KeyValue

Application

  • Create RibbonUtils with custom images for pass, fail, skip, and wait.

1.0.9 / 2023-06-13

TestAdapter

  • Fix duplicated result by using double RecordResultTestModel

Application

  • Update Icon when running tests

1.0.8 / 2023-06-13

TestAdapter

  • Update to show OutputConsole in the Debug (NUnit.Verbosity = 2).
  • Update TestModels, TestAssemblyModel and TestCaseModel
  • Update TestAssemblyModel to record TestCase with the method RecordResultTestModel
  • Fix Download Application File

1.0.7 / 2023-06-12

Console

  • Decouple using interface IRunTestService
  • Add Command project reference
  • Clear old Command references

Command

  • Command library to run tests with IRunTestService
  • Create build for package ricaun.RevitTest.Command

1.0.6 / 2023-05-30

Updated

  • Update ricaun.NUnit to 1.2.9 (MultipleSetUp)

Tests

  • Add Test TestsRevitSetUp
  • Add Test TestsRevitIdling

1.0.5 / 2023-04-25

Fixed

  • Fix Tests with special char, example °C

TestAdapter

  • Update ProcessStart to default Encoding.
  • Update Extensions to internal

Tests

  • Add Test with special char °C

1.0.4 / 2023-04-21

Updated

  • Update ricaun.NUnit to 1.2.8 (GetTestFullNames get tests with *)

Fixed

  • Fix Version Revit 2024 no Tests

Console

  • Add Debug Tests in RevitTestUtils
  • Update RevitTestUtils to min and max (2021-2023)

TestAdapter

  • Add Metadata Discovery Tests
  • Add IsSimilarTestName in TestCaseUtils (Make work with *)

Tests

  • Add TestRevitConstructor
  • Add TestRevitOneTimeSetUp

1.0.3 / 2023-04-17

Features

  • Update TestAdapter to work with '.' in the TestName. ('TestCaseUtils')
  • Update RevitTest to work with ',' and '\' in the TestName.

Application

  • Update Tests without Split(',')

Console

  • Update Command Test to multiple parameters using IEnumerable.

Shared

  • Add Info to TestRequest
  • Update TestFilter to TestFilters with string[]

TestAdapter

  • Update ProcessStart to work with IEnumerable arguments, join with ' '.
  • Update RevitTestProcessStart to work filters string[].

1.0.2 / 2023-04-15

Features

  • Update ricaun.NUnit to 1.2.7

Tests

  • TestsCase - TestCase with string and null

Update

  • Update TestAdapter to work with ricaun.NUnit 1.2.7
  • Update ProcessStart in TestAdapter to work with " in the filter.

1.0.1 / 2023-04-11

Features

  • Update ricaun.NUnit to 1.2.6

Tests

  • TestRevit - Similar Parameter (IDisposable is UIApplication)

1.0.0 / 2023-02-27 - 2023-04-04

Features

Application

  • App - RibbonPanel/RibbonItem
  • PipeServer - Shared
  • UserUtils - IsValid/ISNotValid
  • PipeClient - PropertyChanged
  • Run Tests - ricaun.NUnit
  • Run Tests - Filter Tests
  • Zip - Copy Zip Folder
  • Zip - Copy back Zip Folder
  • [] Zip - Zip max size file
  • Log - Debug/Jornal
  • Log - FileOpen/JornalOpen

Console

  • Info - icon.ico
  • PipeClient - Shared
  • PipeClient - PropertyChanged
  • RevitInstallation - Get Revit Installed
  • CommandLine - Run File Tests
  • CommandLine - Get File Tests FullName
  • CommandLine - Output to Console/File
  • CommandLine - Logger enable/disable
  • CommandLine - Select RevitVersion
  • CommandLine - Force Open/Close/Wait
  • CommandLine - Run Tests with Filter
  • CommandLine - DebuggerAttach hidden options (DebuggerUtils with EnvDTE)
  • CommandLine - Update Parser (Ignore Unknown Arguments)

Shared

  • PipeServer/Client - Json
  • PipeServer/Client - Default is new()
  • PipeServer/Client - Mapper.Map (Update Map static)
  • TestRequests - PropertyChanged
  • TestResponse - PropertyChanged
  • TestResponse - Test/Tests/Info
  • Fody.PropertyChanged

TestAdapter

  • TestAdapter - Discoverer
  • TestAdapter - Executor
  • TestAdapter - Logger (AdapterLogger)
  • TestAdapter - TestCaseUtils
  • TestAdapter - RunSettings (AdapterSettings, XmlExtension, RunSettingModel, XmlBool)
  • TestAdapter - RunSettingsModel (Version, Open, Close, Verbosity, Application, Metadata)
  • TestAdapter - Custom Application Process (Download Zip)
  • TestAdapter - Add Debugger in executor if needed
  • TestAdapter - MetadataMapper (AssemblyMetadataAttribute)
  • Services - RevitTestConsole
  • Services - ProcessStart
  • Services - RevitTestProcessStart
  • Services - ApplicationUtils
  • Test Models
  • Package - Icon

Tests

  • TestsRevit
  • TestsRevitDocument
  • TestsDebugger
  • TestsFile
  • TestsFolder
  • TestsPass
  • TestsIgnore
  • TestsFail